This document addresses scenarios such as below:
- You branched as branch-123 from develop on a repository
- To get your changes tested along with some other branch-345, you merged branch-345 into yours
- When the time came to review your branch-123 against develop, there are changes from branch-345 as well (which isn't yet merged to develop)
- Hence, you need to remove commits from branch-345 to have the PR show only the diff between branch-123 and develop
Assume the git log looks like the following