Git pull 强制拉取并覆盖本地代码

git fetch --all
git reset --hard origin/master
git pull
原文地址:https://www.cnblogs.com/sanduzxcvbnm/p/13529603.html