1. 程式人生 > >Git pull push 卡死解決辦法

Git pull push 卡死解決辦法

執行git pull 或是 git push 出現卡死現象,如下圖


根據圖片的中的提示  git help gc 執行gc操作,然後在執行git pull 獲得git push 擦走還是出現上述卡死的現象,繼續google,新的方法執行 git fsck,在執行 git gc --prune=now,還是出現上述的問題,

最終解決辦法,關閉所有佔用要提交的專案資源,如果ecplise或是idea,重新執行 git gc,在執行,pull或push,一起ok