# git 强制拉取并覆盖本地记录

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

单条执行

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