背景:https方式push代码太慢。
修改方式:
第一步:
git remote -v 查看远程地址别名及路径
origin https://github.com/kkeeliu/doubao_community_frontend.git (fetch)
origin https://github.com/kkeeliu/doubao_community_frontend.git (push)
第二步:
git remote set-url origin git@github.com:kkeeliu/doubao_community_frontend.git
第三步:
git remote -v 查看修改是否成功
主要就是第二步。