Eclipse EGit Checkout conflict with files: - EGit doesn't want to continue

前端 未结 9 1524
旧时难觅i
旧时难觅i 2021-01-30 09:02

I\'ve started Eclipse EGit. In some scenarios it is really not comprehensive.

I have local file e.g. pom.xml changed. On git server this file was changed. I do pu

9条回答
  •  臣服心动
    2021-01-30 09:31

    In Eclipse :-

    1. Right click -> click on 'add to index'

    Add conflict file in staged area

    1. Right Click ->click on commit

    Add conflict file in local repository

    1. Pull

    You will get all changes (change in remote repository and local repository)

    Changes mentioned as Head(<<<<<< HEAD) is your change, Changes mentioned in branch(>>>>>>> branch) is other person change, you can update file accordingly.

    1. Right click ->click on add to index

    2. Right click -> commit and push

提交回复
热议问题