Created
April 12, 2013 12:16
-
-
Save jzi96/5371614 to your computer and use it in GitHub Desktop.
Some notes for the usage of GITHUB within a company network with msysgit.
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
edit C:\Program Files\Tools\GIT\etc\gitconfig | |
In section [http] | |
proxy = http://jzieschang:password@<proxy-server>:8080 | |
add "git config --global http.sslVerify false" | |
on commandline: | |
env GIT_SSL_NO_VERIFY=true git clone .... | |
??? DOES NOT WORK ???? | |
http://stackoverflow.com/questions/3777075/ssl-certificate-rejected-trying-to-access-github-over-https-behind-firewall/4454754#4454754 | |
wget -O - http://curl.haxx.se/ca/cacert.pem | awk 'split_after==1{n++;split_a fter=0} /-----END CERTIFICATE-----/ {split_after=1} {print > "cert" n ".pem"}' | |
curl http://curl.haxx.se/ca/cacert.pem | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {print > "cert" n ".pem"}' | |
c_rehash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment