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.

Filename, size & hash SHA256 hash help File type Python version Upload date
git-blackhole-0.1.0.post1.tar.gz (15.2 kB) Copy SHA256 hash SHA256 Source None Dec 13, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page