Hello @peppaPat,
Thanks for reaching out.
I ran garbage collection on the repository I believe you're talking about, but that didn't reduce its size. This means that all files are reachable from at least one ref (branch of tag), that is entire 1GB of data belongs to the repository.
One thing I can suggest is to check whether you've accidentally committed large files (binaries, for instance). You need to identify these files and remove them from your repository if they shouldn't be there. You can use, for instance, this command:
git ls-tree -r -t -l --full-name HEAD | sort -n -k 4 | tail -n 10
This will show 10 largest files reachable from HEAD (fourth column is size in bytes).
Hope this helps. Let me know if you have any questions.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.