I want to override certain Git configuration options (in my case http.proxy) when calling a Git command directly by using command line parameters. Is this possible?
http.proxy
Yes, you can pass it with -c, like:
-c
git -c http.proxy=someproxy clone https://github.com/user/repo.git
1.4m articles
1.4m replys
5 comments
57.0k users