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

objective c - Can't build GCM with Protobuf in Xcode -

Winapi c++: DialogBox hangs when breaking a loop -

How to use function view in Drupal -