git 放弃本地修改 强制更新

git reset --hard origin/master
原文地址:https://www.cnblogs.com/91allan/p/5719558.html