Last active
March 11, 2022 16:48
-
-
Save bertrandmartel/cb3f2b4d0f3710502316bde47758a875 to your computer and use it in GitHub Desktop.
Using git & curl behind a NTLM proxy
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
# GIT | |
# Download latest version of git (portable if not admin) | |
git.exe clone https://github.com/bertrandmartel/st7735-raspberry.git \ | |
-c "http.proxy=http://:@proxy_url:proxy_port" \ | |
-c "http.sslverify=false" \ | |
-c "credential.helper=" | |
#credential.helper prevents credentials dialog window | |
#sslverify=false for git host where ca is not recognized | |
# CURL | |
# Download latest version of curl | |
curl.exe --proxy proxy_url:proxy_port --proxy-ntlm -U : https://www.google.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment