git ls-tree -tr origin/master https://git-scm.com/docs/git-ls-tree
git ls-remote https://git-scm.com/docs/git-ls-remote.html
https://www.npmjs.com/package/simple-git .listRemote([args], handlerFn)
https://stackoverflow.com/questions/4044368/what-does-treeish-mean-in-git
| 1. | dae86e1950b1277e545cee180551750029cfe735
| 2. | v1.7.4.2-679-g3bee7fb
| 3. | master, heads/master, refs/heads/master
| 4. @{} | master@{yesterday}, HEAD@{5 minutes ago}
| 5. @{} | master@{1}
| 6. @{} | @{1}
| 7. @{-} | @{-1}
| 8. @{upstream} | master@{upstream}, @{u}
| 9. ^ | HEAD^, v1.5.1^0
| 10. | master3
| 11. ^{} | v0.99.8^{commit}
| 12. ^{} | v0.99.8^{}
| 13. ^{/} | HEAD^{/fix nasty bug}
| 14. :/ | :/fix nasty bug
| 16. :: | :0:README, :README
Interesting stuff https://gitolite.com/gitolite/fool_proof_setup https://gitolite.com/gitolite/vref.html this allows for fine grained permissions.# node-git