til

today i learned

View on GitHub

New Ways to Walk Through Past Commits in git

HEAD~ is equivalent to HEAD~1, HEAD~~ (2 ~) is equivalent to HEAD~2, and so on.

This is great - you wouldn’t believe the number of times I mistype git show HEAD~1.