Gitee上传代码报错"Push to xxx was rejected"

找到项目根目录,右键 Git Bash Here

输入:

git pull origin master --allow-unrelated-histories
< /code >

origin:Gitee/GitHub创建的项目名称

 

posted @ 2022-03-26 17:17  七月的枫丶  阅读(275)  评论(0编辑  收藏  举报