When using Eclipse and Egit I can not push to upstream

前端 未结 2 1479
再見小時候
再見小時候 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)

提交回复
热议问题