git报Updates were rejected becaus
2022-06-08 本文已影响0人
pure_joy
原因:远程和本地仓库冲突
解决办法:
git fetch origin //更新远程仓库文件
git diff master origin/master //本地文件和远程仓库文件进行对比
git merge origin/master //自动合并
git fetch origin //更新远程仓库文件
git diff master origin/master //本地文件和远程仓库文件进行对比
git merge origin/master //自动合并