Skip to content

A CLI tool to sunset experimental projects by collapsing them into a "graveyard" repository and optionally preserving their full git history.

Notifications You must be signed in to change notification settings

deanhigh/bury-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bury-it

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.

Installation

From Source

go install github.com/deanhigh/bury-it@latest

Build Locally

git clone https://github.com/deanhigh/bury-it.git
cd bury-it
make build

Usage

# 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

Flags

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

How It Works

  1. Validates the source repository exists and is a valid git repo
  2. Checks the graveyard location (creates if needed)
  3. Archives the project as a subdirectory in the graveyard
  4. Creates a .bury-it.md metadata file with archive details
  5. 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.

License

MIT License - see LICENSE for details.

About

A CLI tool to sunset experimental projects by collapsing them into a "graveyard" repository and optionally preserving their full git history.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published