Git command to list SHA1 hashes for all tree objects -


using command git show-ref --tags can see tags , sha1 hashes these tags.

i similar command trees: command output sha1 hashes tree objects, nothing else.

you can find of objects accessible head pointer

git ls-tree -r -t head 

so can filter find tree objects using sed or awk, example,

git ls-tree -r -t head | awk '$2 == "tree" { print $0 }' 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -