git强制更新

1.下载远程的库的内容  git fetch --all 
2.把HEAD指向刚刚下载的最新的版本  git reset --hard origin/master
原文地址:https://www.cnblogs.com/mingjian/p/5961167.html