Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git branch tmp <first-commit-for-diff>
- git checkout tmp
- git cherry-pick <second-commit-for-diff>
- git cherry-pick <third-commit-for-diff>
- # And so on
- git diff tmp <first-commit-for-diff>^ # The trailing ^ tells git to use the parent
- git diff commit1^..commit2 -- [<path>...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement