Wednesday, January 27, 2010

Using Git Behind a Firewall

I am doing a lot of work involving the Samba code base right now and it has frustrated me that I cannot check out the trunk using git because I am behind a firewall.. then again the tarballs for the stable releases have been adequate until I realised that my tinker toy modifications needed to be made into patches and that was tricky..

Long story short:
if you try 'git clone git://git.samba.org/samba.git samba' and it fails because of a firewall issue then change the scheme from git:// to http:// and presto!

I think this only works if the repository you are checking out has a gitweb installation.

1 comment:

Martin Thomas said...

I think this probably shows that I don't use git a lot..