git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git local repo export
@ 2008-06-08 13:46 Cyrill Gorcunov
  2008-06-08 13:59 ` Sebastian Harl
  0 siblings, 1 reply; 4+ messages in thread
From: Cyrill Gorcunov @ 2008-06-08 13:46 UTC (permalink / raw)
  To: git

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 -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git local repo export
  2008-06-08 13:46 git local repo export Cyrill Gorcunov
@ 2008-06-08 13:59 ` Sebastian Harl
  2008-06-08 14:01   ` Cyrill Gorcunov
  2008-06-17  7:05   ` fatal: Not a valid object name: 'master' helight.xu
  0 siblings, 2 replies; 4+ messages in thread
From: Sebastian Harl @ 2008-06-08 13:59 UTC (permalink / raw)
  To: Cyrill Gorcunov; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 974 bytes --]

Hi Cyrill,

On Sun, Jun 08, 2008 at 05:46:01PM +0400, Cyrill Gorcunov wrote:
> 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?

Imho, that's a fairly elegant way to do that.

You might want to have a look at git-bundle as well. However, that's not
suited for moving the whole repository, but rather to exchange patches
without being able to use any network based protocols.

HTH,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git local repo export
  2008-06-08 13:59 ` Sebastian Harl
@ 2008-06-08 14:01   ` Cyrill Gorcunov
  2008-06-17  7:05   ` fatal: Not a valid object name: 'master' helight.xu
  1 sibling, 0 replies; 4+ messages in thread
From: Cyrill Gorcunov @ 2008-06-08 14:01 UTC (permalink / raw)
  To: Sebastian Harl; +Cc: git

[Sebastian Harl - Sun, Jun 08, 2008 at 03:59:49PM +0200]
| Hi Cyrill,
| 
| On Sun, Jun 08, 2008 at 05:46:01PM +0400, Cyrill Gorcunov wrote:
| > 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?
| 
| Imho, that's a fairly elegant way to do that.
| 
| You might want to have a look at git-bundle as well. However, that's not
| suited for moving the whole repository, but rather to exchange patches
| without being able to use any network based protocols.
| 
| HTH,
| Sebastian
| 
| -- 
| Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
| 
| Those who would give up Essential Liberty to purchase a little Temporary
| Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin
| 

Thanks a lot!

		- Cyrill -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* fatal: Not a valid object name: 'master'.
  2008-06-08 13:59 ` Sebastian Harl
  2008-06-08 14:01   ` Cyrill Gorcunov
@ 2008-06-17  7:05   ` helight.xu
  1 sibling, 0 replies; 4+ messages in thread
From: helight.xu @ 2008-06-17  7:05 UTC (permalink / raw)
  To: git

Hi everyone here,

    I manger my websit with git,but today I cann't use it anymore.

fatal: Not a valid object name: 'master'.

How can i do,anyone can help me?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-17  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-08 13:46 git local repo export Cyrill Gorcunov
2008-06-08 13:59 ` Sebastian Harl
2008-06-08 14:01   ` Cyrill Gorcunov
2008-06-17  7:05   ` fatal: Not a valid object name: 'master' helight.xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).