When force pushing a branch, the identified base commit is the old commit, rather than the shared parent commit.
For example in the commit graph below, A is the parent commit, B is the old commit, and C is the new, force-pushed commit after reverting B. When the force-push is performed, this action is using B as the base commit when it should be using A.
When force pushing a branch, the identified base commit is the old commit, rather than the shared parent commit.
For example in the commit graph below, A is the parent commit, B is the old commit, and C is the new, force-pushed commit after reverting B. When the force-push is performed, this action is using B as the base commit when it should be using A.