Files
30-seconds-of-code/snippets/optimize-repository.md
2022-05-04 19:36:40 +03:00

445 B

title, tags, expertise, author, cover, firstSeen, lastUpdated
title tags expertise author cover firstSeen lastUpdated
Optimize the local repository repository advanced chalarangelo blog_images/automaton.jpg 2021-04-08T19:42:43+03:00 2021-04-13T21:10:59+03:00

Optimizes the local repository.

  • Use git gc --prune=now --aggressive to garbage collect loose objects.
git gc --prune=now --aggressive
git gc --prune=now --aggressive # Optimizes the local repository