Git pull 强制覆盖本地文件

git fetch --all
git reset --hard origin/master
git pull

原文地址:https://www.cnblogs.com/tommy-huang/p/8710575.html