A CLI tool to sunset experimental projects by archiving them into a local "graveyard" repository while preserving their git history.
Yes, I could script this. No, it doesn't have to be Golang. Yes, this is a vibe coding experiment.
go install github.com/deanhigh/bury-it@latestgit clone https://github.com/deanhigh/bury-it.git
cd bury-it
make build# Show help
bury-it --help
# Bury a GitHub repository
bury-it --source {user}/old-project --graveyard ~/graveyard
# Bury a local repository
bury-it --source ./my-experiment --graveyard ~/graveyard
# Bury without preserving history
bury-it --source ./my-experiment --graveyard ~/graveyard --drop-history| Flag | Short | Description |
|---|---|---|
--source |
-s |
Source repository (GitHub URL, owner/repo, or local path) |
--graveyard |
-g |
Local path to the graveyard repository |
--drop-history |
Archive only the latest state, discard git history | |
--help |
-h |
Show help message |
--version |
-v |
Show version |
- Validates the source repository exists and is a valid git repo
- Checks the graveyard location (creates if needed)
- Archives the project as a subdirectory in the graveyard
- Creates a
.bury-it.mdmetadata file with archive details - Reminds you to commit the graveyard and archive the original
Note: bury-it does not delete the original repository. After burying, you should manually commit the graveyard changes and archive/delete the original.
MIT License - see LICENSE for details.