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
Asked
Active
Viewed 3.0k times
8
-
1What url are you trying to hit? – AutoTester213 Dec 21 '18 at 14:32
-
Hi, The URL which we used internal for our project. – Tamilarasi P Dec 24 '18 at 14:26
4 Answers
8
Yes, i could able to resolve this. While pasting the URL -- we should not use the Direct URL from the Browser.
- Select the Branch which you wanted to get the Clone of.
- Go to the Repository -- on the Top left corner -- Click on the Icon with three dots(...) called ACTION Menu -- Select Clone.
- Here you will get an URL with your username.
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.

Harisha Rao
- 81
- 2
- 4
6
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.

Som Dubey
- 101
- 1
- 6
3
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

Vishal Abrol
- 31
- 2
-
1Your answer looks right. But your english is not correct. If I where you I will write something like "Please make git clone to other folder and remove the first." – TemaTre Jan 16 '20 at 05:03
0
Set the http.proxy parameter for your proxy:
git config --global http.proxy http://DOMAIN\username@proxy-server.domain:8080

voa pedro voa
- 1
- 1