I know how to sync branch with master. I do this so:
git checkout target-branch
git merge master
# resolve conflicts if any and commit
git push
I am trying to figure it out what BitBucket suggests me when automatic sync failed because of conflicts. BitBucket suggests me:
git checkout 326907c583f7
# Note: This will create a detached head!
git merge remotes/origin/master
What's the point to create detached head? I does not make sense to me. Is it bug on Bitbucket side or I am missing something?