git 强制更新本地

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