Get a cumulative git diffs for multiple non-consecutuve commits
I'm sure someone has a more clever approach, but you could try to squash all your chosen commits down into one and then do the diff on that one. You could do that by doing --cherry-pick
with --no-commit
. Once you have the final result, you can git diff HEAD
to get the diff of that with your base version (assuming you reset yourself to that spot).