How to change git remote origin git:// to https://?
This question already has an answer here:
Check the Changing a remote's URL docs from GitHub:
Change your remote's URL with the git remote set-url
command:
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
In your case, try this:
git remote set-url origin https://github.com/devRena/test.git
您可以简单地手动编辑.git / config文件。
链接地址: http://www.djcxy.com/p/4618.html上一篇: 如何正确使用网络磁盘驱动器的git