How to shrink the .git folder

后端 未结 7 2350
花落未央
花落未央 2020-12-02 04:16

My current base has a total size of approx. 200MB.

But my .git folder has an amazing size of 5GB (!). Since I push my work to an external server, i don\'t need any b

7条回答
  •  鱼传尺愫
    2020-12-02 04:38

    Tried above methods, nothing worked in my case (where I accidently killed the git process during git push) so I finally had to delete the repo and clone it again and now the .git folder is of normal size.

提交回复
热议问题