OpenBagTwo / gsb

A tool for managing incremental backups of your save states using Git!
https://openbagtwo.github.io/gsb/
GNU General Public License v3.0
0 stars 0 forks source link

Backup cleaner #9

Open OpenBagTwo opened 1 year ago

OpenBagTwo commented 1 year ago

GIVEN Steve ran gsb list --verbose (#7) and noticed that his managed savegame my-savegame is taking up a ton of space

WHEN he runs the command gsb clean my-savegame

THEN gsb takes him through a series of interactive prompts that give him options for reducing the repo size, reporting after each operation how much space that operation saved* after it's completed

SO that Steve is able to keep his backups clean and organized

Notes

OpenBagTwo commented 9 months ago

It's worth noting that this functionality is not available in the underlying library: https://github.com/libgit2/libgit2/issues/3247

so it would need to rely on the standalone git executable being available.