git fetch --all
git reset --hard origin/master  // 还原你指定的分支
git pull