Answers for "git get file commit id"

7

how to see commited file names in command line git

$ 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
0

see file from previous commit git

$ git show HEAD~4:src/main.c
Posted by: Guest on October-20-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language