Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Get changes made for a file between commits
- `git diff <commit1 hash> <commit2 hash> -- <file path>`
- Note: This failed unless I ran the command from project root dir and file path was relative to root
- 2. Get list of files changed between commits
- git diff --name-only <commit hash1> <commit hash2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement