Answers for "how to check file change in last commit"

1

files changed in a commit

git diff --name-only HEAD HEAD~1
Posted by: Guest on June-02-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 "how to check file change in last commit"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language