Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 860
Tamilarasi P Avatar asked Dec 21 '18 14:12

Tamilarasi P


2 Answers

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.

like image 183
Harisha Rao Avatar answered Oct 17 '22 21:10

Harisha Rao


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.

like image 23
Som Dubey Avatar answered Oct 17 '22 22:10

Som Dubey