Files
lk/data/git/cleanup.md
2026-04-27 01:30:33 +02:00

23 lines
184 B
Markdown

---
title: Clean up a bloated git repo
tags:
- data
- setup
requires:
- data/git.md
---
```sh
git fsck --full
```
```sh
git gc --prune=now --aggressive
```
```sh
git repack
```