Tamilarasi P
Tamilarasi P

Reputation: 111

git clone: fatal: unable to update url base from redirection:

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

Answers (4)

Harisha Rao
Harisha Rao

Reputation: 91

Yes, i could able to resolve this. While pasting the URL -- we should not use the Direct URL from the Browser.

  1. Select the Branch which you wanted to get the Clone of.
  2. Go to the Repository -- on the Top left corner -- Click on the Icon with three dots(...) called ACTION Menu -- Select Clone.
  3. Here you will get an URL with your username.
  4. Copy this URL and paste it on the GitBash cmd prompt.

    Ex: git clone https://{username}@{website}.com/1/2/3/4.git

  5. Hit Enter.

Upvotes: 9

voa pedro voa
voa pedro voa

Reputation: 1

Set the http.proxy parameter for your proxy:

git config --global http.proxy http://DOMAIN\[email protected]:8080 

Upvotes: 0

Vishal Abrol
Vishal Abrol

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

Som Dubey
Som Dubey

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

Related Questions