Re: how to backup git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 12 May 2008, Eric Hanchrow wrote:

> >>>>> "bill" == bill lam <cbill.lam@xxxxxxxxx> 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

--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux