When using Eclipse and Egit I can not push to upstream

前端 未结 2 1480
再見小時候
再見小時候 2021-02-14 14:10

Every time I try to push I get reject non-fast forward. If I push from the terminal it works just fine.

I am using Ubuntu Natty latest eclipse Egit plugin git https

相关标签:
2条回答
  • 2021-02-14 14:30

    Windows->Preferences->Team->Git->Configuration->Repository Settings->Add Entry

    Just add two key: 'merge' and 'remote' like the following pic.

    1. key(branch.master.merge) -- value(refs/heads/master)
    2. key(branch.master.remote) -- value(origin)
    0 讨论(0)
  • 2021-02-14 14:30

    I am not sure whether this one can help... because I ever having problem when pushing in eclipse but not in cmd. So I try to modify the Eclipse network connection setting

    • Go to Window -> Preference
    • General -> Network Connection --> SSH2
    • The problem could be inside there.

    Or if it doesn't work,..

    have you try again to re-setup, and Follow the guide http://wiki.eclipse.org/EGit/User_Guide exactly

    Hope it helps, Good luck, :)

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