| 229 | | # The following git-config commands achieve excellent compression without wasting effort |
| 230 | | git config --local pack.compression 9 |
| 231 | | git config --local pack.aggressiveWindow 70 |
| 232 | | |
| 233 | | git gc --aggressive |
| 234 | | |
| 235 | | # To avoid repacking ancient history, keep the pack resulting from and aggressive gc |
| | 229 | # The following commands achieve excellent compression without wasting effort and preserve low-latency reads |
| | 230 | git config --local pack.compression 9 |
| | 231 | # If this is the first repack since setting pack.compression, add -F to the command below. If repack doesn't recognise -F, just call it without it. |
| | 232 | git repack -adf --window=65 --depth=3 |
| | 233 | |
| | 234 | # To avoid repacking ancient history, keep the resulting pack |