Git pull 强制覆盖本地文件

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