在命令行输入git pulll -f总是不如意, 不如我们输入git fetch -all 然后再输入git reset --hard origin/master 这个命令意思是直接从远程更新代码不做任何的合并操作。