git协议切换
1、查看当前协议git remote -v2、切换协议git remote set-url origin 协议地址2.1、从ssh切换至httpgit remote set-url origin https://gitee.com/lerry903/RuoYi.git2.2、从http切换至sshgit remote set-url origin git@gitee.com:lerry903/Ru
·
1、查看当前协议
git remote -v
2、切换协议
git remote set-url origin 协议地址
2.1、从ssh切换至http
git remote set-url origin https://gitee.com/lerry903/RuoYi.git
2.2、从http切换至ssh
git remote set-url origin git@gitee.com:lerry903/RuoYi.git
3、查看当前协议
git remote -v
更多推荐
已为社区贡献1条内容
所有评论(0)