Firewall blocking git-// URLs

Friday, 6 March 2015

I've just discovered that git:// urls are blocked by internal policy. Frustrating. Fortunately http:// and still work for git commands.

Frontend tools such as Bower they assume that git:// urls will be fine, which if they are not creates lots of error messages.

However you can set your git config to rewrite the default protocol with the following command in the terminal:

git config --global url. git://

Many thanks to Tobu on StackOverflow for pointing this one out.

Back to all posts