Answers for "running git diff on two files from differents commits"

1

git files changed between two commits

git diff --name-only SHA1 SHA2
Posted by: Guest on March-11-2020
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language