Skip to main content

Continuous backup and recoverable trash can for Git

Project description

Continuous backup and recoverable trash can for Git

The aim of git-blackhole is to connect any of your repositories to a single repository (“blackhole” repository) to which you can push any commits — WIP commits, branches no longer needed, and useless stashes.

There are three main features of git-blackhole:

  1. Continuous backup. You can use git-blackhole to continuously backup commits in background to a remote repository (or actually any repository) called blackhole repository.

    Run git blackhole init and then setup post-commit hook to run git blackhole push. See the help of git blackhole push for the details.

    By combining with git-wip command, you can backup/share uncommitted changes as well.

  2. Sharing local repository state. Since git-blackhole can push commits and the location of HEAD to the blackhole repository, the state of a repository in one machine is accessible from other machines.

    For example, if you forget to push a commit from your desktop (to the usual remote) but want to resume the work from your laptop, git blackhole warp would be helpful.

  3. Recoverable trash can. Use git blackhole trash-branch and git blackhole trash-stashes to remove branches and stashes from the local repository after sending them to the remote blackhole repository. They are stored remotely as ordinary branches so that you can recover them easily.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-blackhole-0.1.0.post1.tar.gz (15.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page