git - What is the tree hash of a specific commit hash? -


i need shell command-line puts tree hash corresponding specific commit hash. know git cat-file commit $commitid | grep ^tree can it, have filter output of that. there command prints hash?

git log -1 --pretty="%t" $commitid  

Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -