[小技巧] git: Your branch and 'origin/master' have diverged

本文參考:http://stackoverflow.com/questions/19864934/git-your-branch-and-origin-master-have-diverged-how-to-throw-away-local-comgit 若是不須要保留本地的修改,只要執行下面兩步:fetch git fetch origin git reset --hard origin/mas
相關文章
相關標籤/搜索