Reputation: 111
I am trying to clone the gitlab to my local library. While doing the cloning am getting the error, "fatal: unable to update url base from redirection: asked for:"," redirect:usersign link". Can any one let me know how to get resolve this issue
Upvotes: 8
Views: 36226
Reputation: 91
Yes, i could able to resolve this. While pasting the URL -- we should not use the Direct URL from the Browser.
Copy this URL and paste it on the GitBash cmd prompt.
Ex: git clone https://{username}@{website}.com/1/2/3/4.git
Hit Enter.
Upvotes: 9
Reputation: 1
Set the http.proxy parameter for your proxy:
git config --global http.proxy http://DOMAIN\[email protected]:8080
Upvotes: 0
Reputation: 41
I was getting the same error.
I figured out that I was passing the target URL from the browser instead of the clone option from the left pane of the repository web page.
Click on the Clone button and copy the target URL and pass that URL in the - git clone command
git clone
Upvotes: 4
Reputation: 131
I was also facing the same issue and found that everything was correct from my end. Then i realized that i was not connected to my company's vpn. I tried after connecting the vpn and it worked.
Upvotes: 9