1、Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before p
解决:
在gitee创建远程仓库后,需要将该仓库清空。具体操作为:管理、清空
就ok了
gitee入门文章参见:
老子的gitee邮箱:8045395+bm108k@user.noreply.gitee.com
0、https://www.jianshu.com/p/5d7655e10576?utm_campaign=haruki
1、https://gitee.com/help/articles/4118#article-header3
2、https://blog.csdn.net/promsing/article/details/109163798
2、与上面一样的问题,但原因不同
原因:git源的地址输入错误,/号被输入成了\号,微软这狗还在害人,几十年了都:)
解决:改成下面这个就ok了
另外,vs2019不能在gitee上直接创建新的仓库,只能使用现有的仓库,
网友评论