$ 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`
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
https://[email protected]/~demodev/waqtpar.git
You may be using browser url instead of git repository clone url.
The url has to end with .git
I just met this problem. I fixed this by disabling proxy (I'm using TortoiseGit)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With