Files
30-seconds-of-code/snippets/optimize-repository.md
Angelos Chalaris fb4b6fbc8e Update covers
2023-02-16 22:24:37 +02:00

409 B

title, tags, author, cover, firstSeen, lastUpdated
title tags author cover firstSeen lastUpdated
Optimize the local repository repository chalarangelo automaton 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