【发布时间】:2015-01-28 10:21:22
【问题描述】:
在 netbeans 中,在远程(Git)推送项目时,我收到错误“推送将导致非快速向前更新”
【问题讨论】:
-
你用谷歌搜索过这个错误吗? Git 已经存在很长时间了。当然你不是第一个遇到这个问题的人。
标签: github
在 netbeans 中,在远程(Git)推送项目时,我收到错误“推送将导致非快速向前更新”
【问题讨论】:
标签: github
别忘了先更新你的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),在再次尝试推送之前需要它。
【讨论】: