Created
August 2, 2013 06:13
-
-
Save i3zhe/6137823 to your computer and use it in GitHub Desktop.
In case git:// protocol blocked by company or not available to you for any reason, you can do this.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If this is an issue with your firewall blocking the git: protocol port (9418), then you should make a more persistent change so you don't have to remember to issue commands suggested by other posts for every git repo. | |
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