Skip to content

Instantly share code, notes, and snippets.

@bertrandmartel
Last active March 11, 2022 16:48
Show Gist options
  • Save bertrandmartel/cb3f2b4d0f3710502316bde47758a875 to your computer and use it in GitHub Desktop.
Save bertrandmartel/cb3f2b4d0f3710502316bde47758a875 to your computer and use it in GitHub Desktop.
Using git & curl behind a NTLM proxy
# 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