在netbeans中,在远程推送项目(Git)时,我收到错误'推送会导致非快速更新'
答案 0 :(得分:1)
不要忘记先更新Netbeans:bug 238398,表明从NB8 +开始,错误消息更明确(revision 2a7a1c67f8ea):
而不是
Push would result in a non fast-forward update.
Open output to see more information.
现在说:
Remote repository contains commits unmerged into the local branch.\n"
Do you want to pull the remote changes first?
这将有助于您在再次尝试推送之前触发git pull
(为suggested here)。