git fetch --all git reset --hard origin/master git pull
參考文章:git
《Git pull 強制拉取並覆蓋本地代碼》fetch
win環境若是遇到:沒有.git spa
執行:git init.net