Re: how to backup git
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 12, 2008, 13:28 UTC
- Message-ID
- <alpine.DEB.1.00.0805121428310.30431@racer>
- In-Reply-To
- <87ej87is50.fsf@offby1.atm01.sea.blarg.net>
Hi,
On Mon, 12 May 2008, Eric Hanchrow wrote:
Show 8 quoted lines
> >>>>> "bill" == bill lam <cbill.lam@gmail.com> writes: > > bill> Hello, this should be a simple question. How to backup a git > bill> repository but excluding files that not under versioned? If I > bill> cp or tar or rsync the directory. All non-versioned files are > bill> added. > > I'd rsync just the .git directory.
Note that this is necessary if you want to keep the reflogs (clone would not copy them).
Ciao, Dscho