If you write a lot of Git hooks or use Git heavily in scripts, rev-parse may be the subcommand you always wanted without knowing you wanted it.
Source: LXer – Peek inside your Git repo with rev-parse
 
			
			
						If you write a lot of Git hooks or use Git heavily in scripts, rev-parse may be the subcommand you always wanted without knowing you wanted it.
Source: LXer – Peek inside your Git repo with rev-parse