把git的remote url改为git协议。
查看当前remote url
1 | git remote -v |
如果是https开头,使用set-url来调整:
1 | git remote set-url origin git@github.com:lovecoding/lovecoding.github.io.git |
查看当前remote url
1 | git remote -v |
如果是https开头,使用set-url来调整:
1 | git remote set-url origin git@github.com:lovecoding/lovecoding.github.io.git |