Resolving Git merge conflicts

前端 未结 4 1963
长发绾君心
长发绾君心 2020-12-13 13:55

A Git repository has been cloned on several developers\' local machines. Some changes have been made to the code in the repository. We\'re now getting the error:

<         


        
4条回答
  •  南笙
    南笙 (楼主)
    2020-12-13 14:52

    First you should:

    git checkout -- public_html/sites/file
    git checkout -- public_html/sites/file1.txt
    git checkout -- public_html/sites/file2.txt
    

    Next step:

    git pull origin master
    

提交回复
热议问题