add git cleaning

This commit is contained in:
Malin Freeborn 2020-01-11 14:29:06 +01:00
parent dcd27d57ce
commit 5802f0e6d3

View File

@ -115,6 +115,15 @@ Finally, you can clone this repo from your original.
Gitlab requires more changes, such as going to `settings > repository` and switching the main branch, then stripping protection. Gitlab requires more changes, such as going to `settings > repository` and switching the main branch, then stripping protection.
## Clean up Bloated Repo
> git fsck --full
> git gc --prune=now --aggressive
> git repack
## Find Binary Blobs ## Find Binary Blobs
``` ```