How to set up git mirror

William Hubbs w.d.hubbs at gmail.com
Sun Jul 5 14:42:43 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi again Tony,

On Sun, Jul 05, 2009 at 11:22:06AM -0700, Tony Baechler wrote:
> I tried the --mirror option to git-clone, but it says that there is no such 
> option.  I think I want git-fetch, but does this mean that I must first do 
> a clone and then pass the --mirror option to git-fetch?

What version of git are you running?  1.6.3.3 does have a --mirror
option for clone.  Also, the earlier versions have a security issue, so
you will want to upgrade to 1.6.3.3 if you can.

Here is the gentoo bug on this issue:

http://bugs.gentoo.org/273905

> Also, how does one set up the daemon?  All I probably need is a man page, 
> but a brief list of steps would be helpful.  I'm thinking of setting up 
> both git and http mirrors on different machines.

Which distro do you use?  I will attempt to assist you with setting it
up if I can.

Thanks,

William

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkpQ9CMACgkQblQW9DDEZTjmuwCfaCMMgmoYAO/dR7EWaxgai75v
LNgAoLG0fM6/WiN2B8gOXVdby0dE6D6p
=XTRB
-----END PGP SIGNATURE-----



More information about the Speakup mailing list