git.exe push --progress “origion” master:master To…
git 未能顺利结束(退出码 1 )(1906 @)
git.exe push --progress "origin" master:master
To https://gitee.com/xxx.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://gitee.com/xxx.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
git 未能顺利结束 (退出码 1) (1843 ms @ 2019/12/1 11:35:37)

解决方法:
1、首先获取最新代码
2、有冲突先解决冲突
3、再次提交
本文介绍了解决Git推送时遇到的'非快速前进'错误的步骤,包括获取最新代码、解决可能的冲突并重新提交。适用于在团队协作中使用Git版本控制的开发者。
8万+

被折叠的 条评论
为什么被折叠?



