用ssh的地址初始化了本地庫,能動態(tài)切換成https嗎?還是要重新clone本地庫
git remote remove xxxxx
git remote add xxxxx url
或者
git remote set-url xxxx url
No problem, just operate git remote again
For example
git remote add <name> https://....
or
git remote set-url <name> https://...
Just enter the url item in .git/conf in your project directory and it will be ok