“cannot pull into a repository with state: merging_resolved”

后端 未结 3 745
被撕碎了的回忆
被撕碎了的回忆 2021-02-02 15:46

After some pulling, merging and conflict resolving, my GIT is stuck. This is what I tried to do (with EGit) on the main project:

  • \"Pull\" returns \"cannot pull int
相关标签:
3条回答
  • 2021-02-02 16:10

    If working in eclipse IDE. goto -> Git Staging view -> commit & push, if you see there is a commit message already.

    If you don't see any commit message there, synchronize your repository and go back to check it again.

    0 讨论(0)
  • 2021-02-02 16:17

    Since you have finished your merge, and if you don't have any pending changes, you can try a git reset --hard, and see if the issue persists. (See EGit reset your current HEAD)


    Ankit Marothi suggests in the comments:

    I resolved it by resetting it from egit, using Team->Reset and using mixed reset as the option.

    0 讨论(0)
  • 2021-02-02 16:28

    I was facing the same problem . I did a project import in between of resolving conflicts that appeared after doing a pull.

    I solved it by following steps: 1. Right click on repository and click on Reset 2. I selected a branch under Remote Tracking on which there was most recent changes 3. did a MIXED Reset Type

    Finally, I got all the latest version with my changes in unstaged version.

    0 讨论(0)
提交回复
热议问题