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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -