Reputation: 8211
I have a list of commits starting at REV1
and ending with REV2
. I want to compare all changes between REV1
and REV2
against a single commit denoted with REV3
.
How can this be accomplished using git?
Upvotes: 0
Views: 73
Reputation: 2150
Probably this will help
for n in `git rev-list <parent of rev1>..rev2 <branch name>`; do git diff rev3 $n; done
Upvotes: 1