Re: backup git repo on every commit
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Oct 13, 2009, 18:18 UTC
- Message-ID
- <20091013181843.GZ9261@spearce.org>
- In-Reply-To
- <194a2c240910131108h10acbacdy68306c9c3389517@mail.gmail.com>
Israel Garcia <igalvarez@gmail.com> wrote:
> Thanks for your answer, could you please put here how you think > post-update file should be setup? Remember in my case I want to backup > every repo to /backups/git folder for example.
Exactly the same as that post-commit I mentioned, just call the file .git/hooks/post-update instead.
-- Shawn.