git fetch --all git reset --hard origin/master git pull 转载于:https://www.cnblogs.com/black-humor/p/8585261.html