16★Git入門(mén)★解決分支沖突 git merge

merge之后沖突的文件長(zhǎng)這樣

解決沖突:
1.手動(dòng)修改這個(gè)文件
2.git add這個(gè)文件
3.commit完成合并
我在git pull --rebase的時(shí)候,第3步使用的是git rebase --continue,如果沒(méi)做第2步會(huì)提示如下內(nèi)容
xx/xxfile: needs merge
You must edit all merge conflicts and then
mark them as resolved using git add
你必須手動(dòng)編輯沖突內(nèi)容并用git add來(lái)把它們標(biāo)記成已解決
標(biāo)簽: