Azure DevOps - Pull Request Git “Next steps: Manually resolve these conflicts and push new changes to the source branch.”

前端 未结 3 1256
旧时难觅i
旧时难觅i 2021-01-30 13:12

I have created a branch named dev.

I have done a pull request to send dev code to master, when I do this pull request it tell me:

50+ conflicts prevent automati

3条回答
  •  自闭症患者
    2021-01-30 13:29

    You will have to do the following on your PC

    On branch dev

    $ git pull --no-rebase origin master - This will create a merge commit and you will have to resolve the conflicts in the files which are changed both on dev and master. git status will show the list of files with conflicting changes.

    After resolving conflicts, commit all the changes and push your branch. After that you should be able to complete the PR.

    FYI: --no-rebase makes sure that a merge is done even if the pull behavior is overwritten to default to rebase.

    Help link for more details

提交回复
热议问题