Files
lk/data/git/cleanup.md

23 lines
176 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
```