git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: exporting a .git file ?

From
KKKonstantin Khomoutov <kostix+git@007spb.ru>
Date
Aug 27, 2012, 14:53 UTC
Message-ID
<20120827185316.a18222bf90216d87dea9f23a@domain007.com>
In-Reply-To
<CANkmNDc7VP4QiocxuB7JMuQyZy5nDT=ertow_ib2Hri_=XRMOA@mail.gmail.com>

On Mon, 27 Aug 2012 15:32:40 +0100 Aaron Gray <aaronngray.lists@gmail.com> wrote:

> Is there anyway to get my git repository as a single file ?
Depends on what you really need.

If you need to export the repository *history* of one or more references (branches or tags), use `git bundle` to create a specially-formatted file which can be imported using Git on another machine.

If you need to just export the snapshot of the files maintained in the repository at the specified commit, use `git export`.

Previous: Michael Haggerty
Message 8 of 8 in “exporting a .git file ?”
  1. Aaron GrayAug 27, 2012
  2. Mihamina RakotomandimbyAug 27, 2012
  3. Aaron GrayAug 27, 2012
  4. Andreas SchwabAug 27, 2012
  5. Dan JohnsonAug 27, 2012
  6. Aaron GrayAug 27, 2012
  7. Michael HaggertyAug 27, 2012
  8. Konstantin KhomoutovAug 27, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.