How to resolve git's “not something we can merge” error

前端 未结 25 1262
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 05:42

I just encountered a problem when merging a branch into master in git. First, I got the branch name by running git ls-remote. Let\'s call that branch \"branch-n

25条回答
  •  一整个雨季
    2020-12-04 06:21

    This answer is not related to the above question, but I faced a similar issue, and maybe this will be useful to someone. I am trying to merge my feature branch to master like below:

    $ git merge fix-load
    

    for this got the following error message:

    merge: fix-load - not something we can merge

    I looked into above all solutions, but not none of the worked.

    Finally, I realized the issue cause is a spelling mistake on my branch name (actually, the merge branch name is fix-loads).

提交回复
热议问题