Git Repository Too Large

后端 未结 1 762
一生所求
一生所求 2021-02-13 12:35

I have a project with ~12MB worth of code and assets in it. I\'ve been tracking it using Git, and just noticed that my .git folder is now just over 1.83GB. It con

相关标签:
1条回答
  • 2021-02-13 13:04

    Ok, the comments were a great start to understand what the root cause of the problem probably was. I don't really understand the git filter-branch command though, so I was a little wary of just using that.

    I came across this tool: http://rtyley.github.com/bfg-repo-cleaner/

    It worked wonders. My repo is now under 10MB.

    0 讨论(0)
提交回复
热议问题