git push代码出现push rejected错误

git push代码出现push rejected错误

第一步:先使用命令

git pull origin master --alow-unrelated-histories

第二步:使用-f参数强制push

git  push -f origin master
发布了143 篇原创文章 · 获赞 13 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/TreeShu321/article/details/103619862
今日推荐