gitee问题记录

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上直接创建新的仓库,只能使用现有的仓库,

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容