如何更改git remote origin git:// https://?

这个问题在这里已经有了答案:

  • 更改远程Git存储库的URI(URL)11个答案

  • 检查从GitHub更改远程的URL文档:

    使用git remote set-url命令更改远程的URL:

    git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
    

    在你的情况下,试试这个:

    git remote set-url origin https://github.com/devRena/test.git 
    

    您可以简单地手动编辑.git / config文件。

    链接地址: http://www.djcxy.com/p/4617.html

    上一篇: How to change git remote origin git:// to https://?

    下一篇: How to access git remote repo since IP address changed