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


单条执行



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