Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
penguin_booze
· 2y ago · 0 comments
Not sure why the article left out `git ls-tree -r`: this is as good as doing ls-files
at any commit
(given as argument), not just at what's currently checked out.
Comments
[–]
malingo
2y ago
git diff-tree [1] is also super helpful. I've use it a lot to ensure the codebase after a complex rebase is in an identical state as before.
[1]
https://git-scm.com/docs/git-diff-tree