切记!切记!切记! 如果有代码还没提交 切勿使用 点击IDEA下面的Terminal输入命令: 分三步输入 git fetch --all git reset --hard origin/master git pull