git push报错
! [remote rejected] HEAD -> .../master (you are not allowed to upload merges)
error: 无法推送一些引用到 'ssh://yuzx@xxx.xxx.com:29418/xxxrowd'
解决办法
1.先执行
git stash
git pull --rebase
2.进行push
3.最后
git pull
git stash pop
本文介绍了一种常见的GitPush错误——'youarenotallowedtouploadmerges'的解决方法,包括使用git stash暂存未提交的更改,通过git pull --rebase拉取远程分支并重新基化本地分支,然后进行push更新远程仓库。
! [remote rejected] HEAD -> .../master (you are not allowed to upload merges)
error: 无法推送一些引用到 'ssh://yuzx@xxx.xxx.com:29418/xxxrowd'
1.先执行
git stash
git pull --rebase
2.进行push
3.最后
git pull
git stash pop
1106
9409

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