https://blog.csdn.net/weixin_43806049/article/details/124963415?spm=1001.2101.3001.6650.9&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-9-124963415-blog-107571324.pc_relevant_multi_platform_whitelistv3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-9-124963415-blog-107571324.pc_relevant_multi_platform_whitelistv3&utm_relevant_index=14
(超级无敌详细)
hint: 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 pushing again.
hint: See the ‘Note about fast-forwards’ in ‘git push --help’ for details.
这是是因为readme.md 没有存在在本地git中
执行git pull --rebase origin master或者git pull --rebase origin main
————————————————
版权声明:本文为CSDN博主「捡猫」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_44415561/article/details/116352932