Answers for "git diff current file with previous commit"

2

git diff of a file between two commits

git diff <branch_hash> <other_branch_hash> -- <file_path>
Posted by: Guest on November-17-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