Files
lk/data/git/cleanup.md
2026-04-20 05:33:50 +02:00

20 lines
185 B
Markdown

---
title: "Clean up a bloated git repo"
tags: [ "data", "setup" ]
requires: [ "git" ]
---
```sh
git fsck --full
```
```sh
git gc --prune=now --aggressive
```
```sh
git repack
```