Skip to content

Instantly share code, notes, and snippets.

@andreibosco
Created July 4, 2013 20:24
Show Gist options
  • Select an option

  • Save andreibosco/5930045 to your computer and use it in GitHub Desktop.

Select an option

Save andreibosco/5930045 to your computer and use it in GitHub Desktop.
substituir git:// por https://
Fonte: http://stackoverflow.com/questions/4891527/git-protocol-blocked-by-company-how-can-i-get-around-that
Simply issue the following command:
git config --global url."https://".insteadOf git://
This simply adds the following two lines to ~/.gitconfig:
[url "https://"]
insteadOf = git://
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment