Answers for "how to see what files are committed in git"

6

list of files in git commit

$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js
Posted by: Guest on June-01-2020
1

files changed in a commit

git diff --name-only HEAD HEAD~1
Posted by: Guest on June-02-2020
1

git check which files are committed

$ git show --pretty="" --name-only bd61ad98    
index.html
javascript/application.js
javascript/ie6.js
Posted by: Guest on October-31-2020
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 "how to see what files are committed in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language