git 强制刷新,放弃更改

git fetch --all 
git reset --hard origin/master

原文地址:https://www.cnblogs.com/xiaokang088/p/3990538.html