From: "Alexander Gladysh" <agladysh@gmail.com>
To: git@vger.kernel.org
Subject: [Q] post-commit hook to backup repo by emailing git bundle
Date: Sun, 4 Jan 2009 18:27:09 +0300 [thread overview]
Message-ID: <c6c947f60901040727m328a814av8edd72570c39e0b5@mail.gmail.com> (raw)
Hi, list!
I have a server, where I store my light-weight private data (a wiki
contents) inside a git repo. I need a backup solution for this data.
Setting up a mirror repository and fetching/pushing over the network
is highly uncomfortable for a number of reasons for this specific
case.
I'm thinking of setting up a post-commit hook on my wiki repo, which
would prepare git bundle for the commit and send it to me via e-mail.
Perhaps someone already has something like this, so I would not have
to reimplement the wheel?
Alexander.
reply other threads:[~2009-01-04 15:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c6c947f60901040727m328a814av8edd72570c39e0b5@mail.gmail.com \
--to=agladysh@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).