git直接让远程服务器代码覆盖本地代码

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

  

posted @ 2018-03-16 21:03  黑默  阅读(970)  评论(0)    收藏  举报