login
Header Space

 
 

Re: how to backup git

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Heikki Orsila <shdl@...>, bill lam <cbill.lam@...>, <git@...>
Date: Monday, May 12, 2008 - 2:54 pm

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

 

I think that bundles (see git-bundle) would be what you want (please
read GitFaq/GitTips/"Git in Nutshell" for explanation and use cases).

"git fetch" (perhaps using bundle) would save state of refs (heads,
remote branches, tags) and object repository.  To save state of
working area and index I think it would be best to use 'git-stash'
before creating backup, and unstash after it; see documentation for
git-stash.  What is left is: reflogs, configuration, hooks, grafts and
shallow, repository local excludes file, repository local attributes
file[*1*].

[*1*] Which is not mentioned in Documentation/repository-layout.txt
-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: how to backup git, Eric Hanchrow, (Mon May 12, 9:11 am)
Re: how to backup git, Johannes Schindelin, (Mon May 12, 9:28 am)
Re: how to backup git, bill lam, (Mon May 12, 10:13 am)
Re: how to backup git, Daniel Barkalow, (Mon May 12, 5:19 pm)
Re: how to backup git, Junio C Hamano, (Mon May 12, 6:26 pm)
Re: how to backup git, Daniel Barkalow, (Mon May 12, 7:43 pm)
Re: how to backup git, Johannes Schindelin, (Mon May 12, 11:08 am)
Re: how to backup git, Heikki Orsila, (Mon May 12, 11:27 am)
Re: how to backup git, Johannes Schindelin, (Mon May 12, 1:07 pm)
Re: how to backup git, Heikki Orsila, (Mon May 12, 2:07 pm)
Re: how to backup git, Johannes Schindelin, (Mon May 12, 2:21 pm)
Re: how to backup git, Jakub Narebski, (Mon May 12, 2:54 pm)
Re: how to backup git, Heikki Orsila, (Mon May 12, 2:36 pm)
Re: how to backup git, Heikki Orsila, (Mon May 12, 2:38 pm)
Re: how to backup git, Tim Harper, (Mon May 12, 2:58 pm)
Re: how to backup git, Heikki Orsila, (Mon May 12, 3:10 pm)
Re: how to backup git, Sverre Rabbelier, (Mon May 12, 3:49 pm)
Re: how to backup git, Miklos Vajna, (Mon May 12, 10:54 am)
speck-geostationary