Imagine that everytime I commit files, before I push them, I\'d like to list them to check. How may I do that ?
I tried:
git ls-tree -r --name-only m
If you want to list files in the last commit (local or not), use this
git show --name-only