代表:
username = demodev
servername = servername.com
在服务器punlic_html / sample.git中创建了git repo。
using git commend : git remote set-url origin https://demodev@servername.com/home/demodev/public_html/sample.git/
在git远程推荐之后
git push origin master
它会显示一些错误消息
fatal: unable to update url base from redirection:
asked for: https://demodev@servername.com/home/demodev/public_html/waqtpar.git/info/refs?service=git-receive-pack
redirect: https://servername.com/404.html
答案 0 :(得分:0)
尝试删除
/
从网址末尾签名。