I did some commits on branch MyCurrent
. Then realize that I do them on another and leave current branch untouched.
Thus I create new branch at root point (where I should start new branch):
git checkout -b fixes 6735ff2
And check the root of branch:
$ git merge-base --fork-point fixes
6735ff23c52338fbaafbfa1707f0bcbb1e5b9698
Then I merge (maybe I should cherry-pick?) the current branch
$ git merge --ff-only MyCurrent
Updating 6735ff2..e1700a5
Fast-forward
...
When I check form-point
again - it is moved:
git merge-base --fork-point fixes
e1700a59dd
Why fork point is updated?