On 08/27/2012 04:45 PM, Dan Johnson wrote:
> On Mon, Aug 27, 2012 at 10:32 AM, Aaron Gray <aaronngray.li...@gmail.com> 
> wrote:
>> Hi,
>> Is there anyway to get my git repository as a single file ?
> You're probably looking for the git bundle command (see git bundle
> --help), but it's possible you might just want to use tar.

Please note that a "git bundle" will contain the contents of the
repository (commits, log messages, etc) but not the local configuration
like .git/config, .git/info/*, nor some other information like the
reflogs (history of old values of references).  This is probably what
you want.

A "tar" of the .git directory, by contrast, would include this local
information unless you exclude it explicitly.


Michael Haggerty
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to