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

前端 未结 25 1274
隐瞒了意图╮
隐瞒了意图╮ 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:40

    This may sounds weird, but remember to setup your git email and name:

    git config --global user.email "MY@EMAIL.COM"
    git config --global user.name "FIRST_NAME LAST_NAME"
    

提交回复
热议问题