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 details)

Uploaded Source

File details

Details for the file git-blackhole-0.1.0.post1.tar.gz.

File metadata

File hashes

Hashes for git-blackhole-0.1.0.post1.tar.gz
Algorithm Hash digest
SHA256 dcd410e40b9f40479a3aeb85e6098aaa7f862efc110cc1a5988963ec51aab0f2
MD5 1eccfc38325a42c08ddf06d1e152ad53
BLAKE2b-256 44fc1f6f8b1c2c888d9e99751fd224f56503451f05e3848a6a8af4e4b11e27d0

See more details on using hashes here.

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