git强制覆盖本地修改

2020-03-11  本文已影响0人  师娘哪里去了

git 强制覆盖本地工作区的修改,方法如下:

git fetch --all
git reset --hard origin/master
git pull
上一篇下一篇

猜你喜欢

热点阅读