Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
DEST=~/Dropbox/Git\ Backups/
REPO=$(basename "`git rev-parse --show-toplevel`")
(git bundle create "${DEST}${REPO}.bundle" --all)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment