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

前端 未结 9 1512
旧时难觅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:20

    This is the way I solved my problem:

    1. Right click the folder that has uncommitted changes on your local
    2. Click Team > Advanced > Assume Unchanged
    3. Pull from master.

    UPDATE:

    As Hugo Zuleta rightly pointed out, you should be careful while applying this. He says that it might end up saying the branch is up to date, but the changes aren't shown, resulting in desync from the branch.

提交回复
热议问题