git push出错提示:To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes before pushing again.
2018-11-21
分类:PHP
阅读(662) 评论(0)
这是因为:git仓库
中已经有一部分代码,所以它不允许你直接把你的代码覆盖上去,这个时候可以强推
git push -f
这个时候所有代码都会被
覆盖了,大功告成~
未经允许不得转载:git push出错提示:To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes before pushing again.
标签:
评论前必须登录!
注册