Next | MJD's Git tips and utilities | 16 |
my-topic-branch@{'Aug 22'}:path/to/some/file.txt
Git's language for talking about objects is very powerful
How can you learn it?
man git-rev-parse
https://git-scm.com/docs/git-rev-parse
The git rev-parse command takes a description and turns it into a SHA
The man page also explains the syntax of descriptions
Good practice: look it over every six months
You'll pick up something useful every time
My favorite: git show :/foozle/
Next | Copyright © 2021 M. J. Dominus |