git fetch --all # 同步远程更新
git reset --hard origin/master # 覆盖本地代码
git pull # 重新拉取代码
Git 远程强制覆盖本地
于 2022-08-26 08:27:04 首次发布
git fetch --all # 同步远程更新
git reset --hard origin/master # 覆盖本地代码
git pull # 重新拉取代码