git pull 强制覆盖本地

540 阅读1分钟
// 从远程拉取所有内容
git fetch --all

// reset 本地代码; master替换为你目前所在的分支
git reset --hard origin/master

// 重启拉取对齐
git pull