fatal: unable to update url base from redirection

前端 未结 3 2805
甜味超标
甜味超标 2021-01-12 08:00
$ git remote set-url origin https://demodev@servername.com/home/demodev/public_html/waqtpar.git`

$ git push -u origin master`

fatal

3条回答
  •  耶瑟儿~
    2021-01-12 08:20

    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://demodev@servername.com/home/demodev/public_html/waqtpar.git

    or

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

    or

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

提交回复
热议问题