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 HEAD
git clean -f
2git clean -f -d
reset
. For more on the differences between reset
and revert
check out my previous post Learning Git From The Ground Up.clean
Hi 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!