I am trying to clone the RestKit from https://github.com/RestKit/RestKit.git.
This is what I have done so far:
Installed git.
Set up the
.gitconfig
file with correct params in~/
[user] name = myName email = myEmail [http] proxy = http://<username for proxy>:<password for proxy>@PROXY:8080 sslverify = false [https] proxy = https://<username for proxy>:<password for proxy>@PROXY:8080
Started the clone command as follows:
git clone https://github.com/RestKit/RestKit.git
I am getting the following error:
Cloning into 'RestKit'...
error: Could not resolve host: (nil); nodename nor servname provided, or not known while accessing https://github.com/RestKit/RestKit.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
What am I missing?
UPDATE:
When I replace the http.proxy in the .gitconfig file with
http://:8080
i.e., without the credentials, then I get the following error:
Cloning into 'RestKit'...
error: The requested URL returned error: 407 while accessing https://github.com/RestKit/RestKit.git/info/refs?service=git-upload-pack
fatal: HTTP request failed