{"thread":{"id":"13860","subject":"git local repo export","startedAt":"2008-06-08T13:46:01Z","lastAt":"2008-06-17T07:05:37Z","messageCount":4,"participants":["Cyrill Gorcunov","Sebastian Harl","helight.xu"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"79107","messageId":"20080608134601.GA7020@cvg","threadId":"13860","inReplyTo":null,"subject":"git local repo export","fromName":"Cyrill Gorcunov","fromEmail":"gorcunov@gmail.com","sentAt":"2008-06-08T13:46:01Z","receivedAt":"2008-06-08T13:46:01Z","isPatch":false,"sender":{"key":"gorcunov@gmail.com","avatar":"https://gravatar.com/avatar/b9d3eb8ea4efbd95564cedde5bf279ef8f36091cf61fac090c8cb75cc4ad6f8b?d=mp&s=160"},"body":"Hi,\n\ncould someone say me if there is a way to pack git repo in a single file somehow?\nI mean - sometime I have to move _whole_ git database by some media without net\naccess so I can't fetch it. Usually I just create tar.gz for .git directory and\ncopy it to some media then unpack it in place where I need. But maybe there is\nsome other more elegant way exist to do the same?\n\nThanks in advace, please CC me since I'm not subscribed to git list.\n\n\t\t- Cyrill -\n"},{"id":"79108","messageId":"20080608135949.GE19777@albany.tokkee.org","threadId":"13860","inReplyTo":"20080608134601.GA7020@cvg","subject":"Re: git local repo export","fromName":"Sebastian Harl","fromEmail":"sh@tokkee.org","sentAt":"2008-06-08T13:59:49Z","receivedAt":"2008-06-08T13:59:49Z","isPatch":false,"sender":{"key":"sh@tokkee.org","avatar":"https://gravatar.com/avatar/c19b9c37bd63e5d1dabe8d222904921fb807d53d1d8d41af758a16c066eeb59c?d=mp&s=160"},"body":"Hi Cyrill,\n\nOn Sun, Jun 08, 2008 at 05:46:01PM +0400, Cyrill Gorcunov wrote:\n> could someone say me if there is a way to pack git repo in a single\n> file somehow?  I mean - sometime I have to move _whole_ git database\n> by some media without net access so I can't fetch it. Usually I just\n> create tar.gz for .git directory and copy it to some media then unpack\n> it in place where I need. But maybe there is some other more elegant\n> way exist to do the same?\n\nImho, that's a fairly elegant way to do that.\n\nYou might want to have a look at git-bundle as well. However, that's not\nsuited for moving the whole repository, but rather to exchange patches\nwithout being able to use any network based protocols.\n\nHTH,\nSebastian\n\n-- \nSebastian \"tokkee\" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/\n\nThose who would give up Essential Liberty to purchase a little Temporary\nSafety, deserve neither Liberty nor Safety.         -- Benjamin Franklin\n\n"},{"id":"79109","messageId":"20080608140122.GB7020@cvg","threadId":"13860","inReplyTo":"20080608135949.GE19777@albany.tokkee.org","subject":"Re: git local repo export","fromName":"Cyrill Gorcunov","fromEmail":"gorcunov@gmail.com","sentAt":"2008-06-08T14:01:22Z","receivedAt":"2008-06-08T14:01:22Z","isPatch":false,"sender":{"key":"gorcunov@gmail.com","avatar":"https://gravatar.com/avatar/b9d3eb8ea4efbd95564cedde5bf279ef8f36091cf61fac090c8cb75cc4ad6f8b?d=mp&s=160"},"body":"[Sebastian Harl - Sun, Jun 08, 2008 at 03:59:49PM +0200]\n| Hi Cyrill,\n| \n| On Sun, Jun 08, 2008 at 05:46:01PM +0400, Cyrill Gorcunov wrote:\n| > could someone say me if there is a way to pack git repo in a single\n| > file somehow?  I mean - sometime I have to move _whole_ git database\n| > by some media without net access so I can't fetch it. Usually I just\n| > create tar.gz for .git directory and copy it to some media then unpack\n| > it in place where I need. But maybe there is some other more elegant\n| > way exist to do the same?\n| \n| Imho, that's a fairly elegant way to do that.\n| \n| You might want to have a look at git-bundle as well. However, that's not\n| suited for moving the whole repository, but rather to exchange patches\n| without being able to use any network based protocols.\n| \n| HTH,\n| Sebastian\n| \n| -- \n| Sebastian \"tokkee\" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/\n| \n| Those who would give up Essential Liberty to purchase a little Temporary\n| Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin\n| \n\nThanks a lot!\n\n\t\t- Cyrill -\n"},{"id":"80108","messageId":"48576241.1070409@gmail.com","threadId":"13860","inReplyTo":"20080608135949.GE19777@albany.tokkee.org","subject":"fatal: Not a valid object name: 'master'.","fromName":"helight.xu","fromEmail":"helight.xu@gmail.com","sentAt":"2008-06-17T07:05:37Z","receivedAt":"2008-06-17T07:05:37Z","isPatch":false,"sender":{"key":"helight.xu@gmail.com","avatar":null},"body":"Hi everyone here,\n\n    I manger my websit with git,but today I cann't use it anymore.\n\nfatal: Not a valid object name: 'master'.\n\nHow can i do,anyone can help me?\n"}]}