git报错:See the 'Note about fast-forwards' in 'git push --help' for details.

使用乌龟客户端push代码到码云的时候报错:Note about fast-forwards字样,解决方法:

没有设置默认分支
git pull origin master --allow-unrelated-histories

或者
设置了默认分支
git pull --allow-unrelated-histories
posted @ 2022-03-23 10:53  童年的回忆  阅读(2745)  评论(0编辑  收藏  举报
如果本博客解决了您的问题,可以微信支付宝打赏鼓励一下作者哦,在此表示感谢