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

git local repo export

From
Cyrill Gorcunov <gorcunov@gmail.com>
Date
Jun 8, 2008, 13:46 UTC
Message-ID
<20080608134601.GA7020@cvg>
Hi,

could someone say me if there is a way to pack git repo in a single file somehow? I mean - sometime I have to move _whole_ git database by some media without net access so I can't fetch it. Usually I just create tar.gz for .git directory and copy it to some media then unpack it in place where I need. But maybe there is some other more elegant way exist to do the same?

Thanks in advace, please CC me since I'm not subscribed to git list.
		- Cyrill -
Next: Sebastian Harl
Message 1 of 4 in “git local repo export”
  1. Cyrill GorcunovJun 8, 2008
  2. Sebastian HarlJun 8, 2008
  3. Cyrill GorcunovJun 8, 2008
  4. fatal: Not a valid object name: 'master'.helight.xu, Jun 17, 2008

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.