Created
January 15, 2015 15:11
-
-
Save toast38coza/f8b5db21aac19e492967 to your computer and use it in GitHub Desktop.
Cloning a repo from github through a corporate proxy with username and password
This file contains hidden or 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
| export http_proxy=http://username:[email protected]:80 | |
| export https_proxy=http://username:[email protected]:80 |
This file contains hidden or 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
| [http] | |
| proxy = http://username:[email protected]:80 | |
| [https] | |
| proxy = https://username:[email protected]:80 | |
| [user] | |
| name = Joe Soap | |
| email = [email protected] |
This file contains hidden or 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
| # note: use the https clone (because your proxy will likely block port 20) | |
| git clone https://user:[email protected]/yourgithubusername/reponame.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment