fatal: unable to update url base from redirection
98,817
Solution 1
Well, as the error says. You are getting a 404 error page which means website is not found. Git of course cannot handle this redirect in this case and so complains.
Your URL is simply wrong. Did you maybe want to use
ssh://[email protected]/home/demodev/public_html/waqtpar.git
or
[email protected]:/home/demodev/public_html/waqtpar.git
or
Solution 2
You may be using browser url instead of git repository clone url.
The url has to end with .git
Solution 3
I just met this problem. I fixed this by disabling proxy (I'm using TortoiseGit)
Author by
Balaji R
Updated on July 05, 2022Comments
-
Balaji R almost 2 years
$ git remote set-url origin https://[email protected]/home/demodev/public_html/waqtpar.git` $ git push -u origin master`
fatal: unable to update url base from redirection: asked for: https://[email protected]:/home/demodev/public_html/waqtpar.git/info/refs?service=git-receive-pack redirect: https://[email protected]:/404.html`