我刚刚安装了 netbeans 并通过 ssh 连接到我的 git 存储库。
除了推送主分支外,一切正常。每次我在主分支上提交一些更改并尝试推送分支时,我都会得到这个弹出窗口:
There were errors during the push.
Open output to see more details.
细节是
==[IDE]== Jun 30, 2012 4:29:42 PM Pushing finished.
==[IDE]== Jun 30, 2012 4:32:38 PM Pushing
git push ssh://50.57.180.187:22/var/www/netbeans +refs/heads/master:refs/heads/master
Remote Repository Updates
Branch : master
Old Id : cc6de40b3236047b0212e318f9977a7b75395177
New Id : fe8f3af403524ba5731fdf1e0b8773c4ef223840
Result : REJECTED_OTHER_REASON
Local Repository Updates
Branch : origin/master
Old Id : cc6de40b3236047b0212e318f9977a7b75395177
New Id : fe8f3af403524ba5731fdf1e0b8773c4ef223840
Result : NOT_ATTEMPTED
==[IDE]== Jun 30, 2012 4:32:43 PM Pushing finished.
但是对于其他分支,一切都很好。难道我做错了什么?
编辑:远程回购不是裸露的,更多信息在这里