Answers for "git how to see the files in a commit"

16

how to see all commits in git

$ git log --pretty=format:"%h - %an, %ar : %s"
ca82a6d - Scott Chacon, 6 years ago : Change version number
085bb3b - Scott Chacon, 6 years ago : Remove unnecessary test
a11bef0 - Scott Chacon, 6 years ago : Initial commit
Posted by: Guest on July-31-2020
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

Code answers related to "git how to see the files in a commit"

Browse Popular Code Answers by Language