每次我尝试推送时,我都会被拒绝非快进。如果我从终端推送它就可以正常工作。
我正在使用 Ubuntu Natty 最近的 eclipse Egit 插件 git https
我宁愿使用 ssh,但我也无法让它工作。
最佳答案
Windows->Preferences->Team->Git->Configuration->Repository Settings->Add Entry
只需添加两个键:'merge' 和 'remote' 如下图。
- key(branch.master.merge) -- value(refs/heads/master)
- key(branch.master.remote) -- value(origin)
关于eclipse - 使用 Eclipse 和 Egit 时无法推送到上游,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6351304/