git强制更新,放弃本地修改

 

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

 

posted @ 2017-05-14 17:32  醉梦卐  阅读(194)  评论(0编辑  收藏  举报