avatar

Andres Jaimes

Common git commands

Hello. This page’s intention is to help me keep some git commands handy, since some times I forget how to do some tasks in the github workflow.

Our first step is to clone a repository using the command git clone …

Undoing the Last Git Commit

A command so important, it deserves its own page:

1git reset --soft HEAD~1

The previous command undoes the last commit to git. I think this is one of those commands that I have typed many times during the last year. It’s very important to know …