Today I was trying to setup ACPI-CA source tree in my computer using the following command
git clone http://www.acpica.org/repos/acpica.git
Googleing internet for how to configure cygwin to use proxy didn’t yield any result. Two of my friends with Linux knowledge advised me to set an environment variable (http_proxy) to connect. After exporting it, everything worked fine.
export http_proxy=http://username:password@host:port/
8 comments:
I am facing a problem with git.
"warning: remote HEAD refers to nonexistent ref, unable to checkout."
I googled a lot, but could not find any solution to the above. I suspected the proxy settings and made changes as per your suggestion, but that doesn't help.
do you have any idea what else I could be doing wrong?
Kalyan
If you need authentification and if your password contains a special char :
git config --global http.proxy http://login:'pa$$word'@proxyhttp:8080
NB : simple quote are required
Anonymous's solution (--global http.proxy) worked for me. Exporting the env var didn't :(
No idea how to get things to use a proxy over the regular git protocol (rather than http)
Hi!
I am a noobie in cygwin, linux, networks; I frequently need to connect to some machines using ssh, but for the next 6months I won't be able to access them except if I manage to connect to them through a proxy. Can you tell me step-by-step how you set an environment variable, and how you export it, and if I'm not asking to much, how to connect? (ssh ..? abc@xyz)
Thank you very much!
No doubt your blog article is great to me and most importantly it gives me information about my related issue.
Torrent Downloads UK proxy
can you explain this a bit better please?
export http_proxy=http://username:password@host:port/
I have tried this on cygwin:
export http_proxy=http://localhost:53128
but not sure how to include my username and p/w in it.
this is what I have for git:
$ git config --global http.proxy
http://localhost:53128
Greaat blog post
Post a Comment