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 …
