【发布时间】:2018-07-14 02:28:01
【问题描述】:
我很难将主更改合并到我的功能分支。我只是尝试将主更改合并到我的功能分支以测试代码。我知道有些文件有冲突,但我认为我没有正确处理。
我尝试运行git pull 并收到以下错误。当我运行git checkout mybranch 并说needs merge. error: you need to resolve your current index first 时,您能指导我正确的方法吗?谢谢
git pull
error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
【问题讨论】: