I was unable to explain why I had this message. I had a master branch, created a new branch, made some commits and wanted to merge them back onto master, which I would have expected to cause master to fast forward. Indeed test cases confirm.
However in my search for a solution I hit this post:
Git merge reports "Already up-to-date" though there is a difference
Can anyone explain why in this example the reporter explains there would be no fast forward?
Additional information I can think of:
- I was not in a detached head mode.
I checked back out to master to merge new branch:
git checkout -b new-branch git commit -am "changes to new branch" git checkout master git merge new-branch // expect fast forward but got the already up to date msg
In a simple test case I dont get the above - so something to do with the mess of the repo, but more importantly I dont understand the rationale of the comments in the above stack overflow link - which would seem on the face of it to possibly explain something related to my scenario?