Israel Garcia <igalvarez@xxxxxxxxx> wrote: > Which is the simplest way to backup a git repository after every commit? Add a commit hook to push to another location, e.g.: git remote add --mirror backup you@xxxxxxxxxxxx:path/to/backup.git cat >.git/hooks/post-commit #!/bin/sh git push backup ^D chmod a+x .git/hooks/post-commit -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html