From: Tobias Sarnowski Date: Mon, 12 May 2008 06:36:54 GMT Subject: Re: how to backup git Message-ID: In-Reply-To: <4827DEF6.1050005@gmail.com> Hi bill, Backing up the ".git" directory is all you need. You can also clone it as a bare repository (see git clone --bare). Afterwards "git checkout" is your friend. Tobias Am 12.05.2008 um 08:08 schrieb bill lam : > Hello, this should be a simple question. How to backup a git > repository but excluding files that not under versioned? If I cp or > tar or rsync the directory. All non-versioned files are added. > > regards