致命的:无法从重定向更新URL库 [英] fatal: unable to update url base from redirection

查看:1392
本文介绍了致命的:无法从重定向更新URL库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$ git remote set-url origin https://demodev@servername.com/home/demodev/public_html/waqtpar.git`

$ git push -u origin master`

致命:无法通过重定向更新网址库:要求: https://demodev@servername.com:/404.html `

推荐答案

好吧,如错误所示.您会收到一个404错误页面,这意味着找不到网站.在这种情况下,Git当然不能处理这种重定向,因此会抱怨.

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.

您的URL完全是错误的.您可能要使用

Your URL is simply wrong. Did you maybe want to use

ssh://demodev@servername.com/home/demodev/public_html/waqtpar.git

ssh://demodev@servername.com/home/demodev/public_html/waqtpar.git

demodev@servername.com:/home/demodev/public_html/waqtpar.git

demodev@servername.com:/home/demodev/public_html/waqtpar.git

https://demodev@servername.com/~demodev/waqtpar.git

这篇关于致命的:无法从重定向更新URL库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆