Git错误non-fast-forward后的冲突解决

当要push代码到git时,出现提示:

error:failed to push some refs to ...

Dealing with “non-fast-forward” errors
From time to time you may encounter this error while pushing:

 

解决方案:

git config branch.dev.remote origin

git config branch.dev.merge refs/heads/dev

posted @ 2018-07-18 16:12  ldp.im  阅读(144)  评论(0编辑  收藏  举报