2020-01-19
|~1 min read
|121 words
Commonly used Git commands that are worth remembering (or having a quick reference like this one for):
git reset HEAD~1 (Stack Overflow)git reset --soft HEAD~git revert HEAD~git reset --hard HEADgit clean -f2git clean -f -dreset. For more on the differences between reset and revert check out my previous post Learning Git From The Ground Up.cleanHi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!