git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rsync busy non-bare git repo 'source' to quiet
@ 2011-03-08 21:25 Neal Kreitzinger
  2011-03-08 21:39 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Neal Kreitzinger @ 2011-03-08 21:25 UTC (permalink / raw)
  To: git

Does anyone have an example of an rsync bash script that will make a good 
copy of a non-bare git repo (including the working tree) while the "source" 
git repo is busy and the "destination" git repo is quiet?

We do not use symlinks in our working-tree or in our .git directory (unless 
git is using symlinks on its own behind-the-scenes that I am not aware of).

This would make it very easy for us to refresh our "beta" livebox to emulate 
the current "gold" livebox using a single rsync instead of a combination of 
rsync and git-clone/pull due to the pieces that git does not replicate (ie, 
hooks) and the non-git components of our git based change control menu 
system (which is written in bash scripts on linux).

Thanks!

v/r,
Neal 

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

end of thread, other threads:[~2011-03-08 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 21:25 rsync busy non-bare git repo 'source' to quiet Neal Kreitzinger
2011-03-08 21:39 ` Jeff King
2011-03-08 22:20   ` Neal Kreitzinger
2011-03-08 22:38     ` Jeff King
2011-03-08 23:00       ` Neal Kreitzinger

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).