login
Header Space

 
 

backup or mirror a repository

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Thursday, September 27, 2007 - 3:35 pm

Hello list,

I have been poking around on IRC and gmane, but haven't yet seen a
solution to my problem:

What I really want is something semantically identical to a recursive
copy of my entire git repository on one machine sent to another machine.
Right now I can't simply use "rsync -ar --delete ..." because the pack
changes names, thus fooling rsync and sending a bunch of bits over the
network.

I saw git-mirror on gmane and asked around in IRC, but the former seems
to have died sometime last November and the latter told me I'd probably
have to write some glue to process git show-ref and git ls-remote. This
seems viable, but suboptimal. Another user chimed in that they also had
the same use case as myself.


fdr

(Justifications: I am super paranoid, so I want to push my local
branches to another disk to be safe, but then they proliferate over time
since deleted local branches are not also deleted on the target
repository. I also want to work on multiple machines seamlessly, and as
such doing a bunch of "git checkout -r ..." when I need to change
branches is also suboptimal. As I said, I can get what I want by simply
using rsync, so this is entirely about efficiency by exploiting git's
structure)

-
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:
backup or mirror a repository, Dan Farina, (Thu Sep 27, 3:35 pm)
Re: backup or mirror a repository, Johannes Schindelin, (Thu Sep 27, 5:56 pm)
Re: backup or mirror a repository, Dan Farina, (Thu Sep 27, 8:51 pm)
Re: backup or mirror a repository, Johannes Schindelin, (Thu Sep 27, 9:56 pm)
Re: backup or mirror a repository, Dan Farina, (Thu Sep 27, 10:37 pm)
Re: backup or mirror a repository, Junio C Hamano, (Fri Sep 28, 2:27 am)
Re: backup or mirror a repository, Dmitry Potapov, (Thu Oct 18, 1:32 am)
Re: backup or mirror a repository, Johannes Schindelin, (Mon Oct 29, 8:33 pm)
Re: backup or mirror a repository, Dan Farina, (Fri Sep 28, 3:20 am)
speck-geostationary