Answers for "git files in last commit"

1

git lits file in commit

// list files in a specific commit
git diff-tree --no-commit-id --name-only -r 3a379d3319
// other way
git show --pretty="" --name-only 3a379d3319
Posted by: Guest on May-25-2021
0

how to see what files are committed in git

git ls-tree --name-only -r <commit-ish>
Posted by: Guest on October-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language