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

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

  

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