赞
踩
git remote add origin https://x.git # 添加的是https连接无论是否加不加公钥都要输入账号密码
解决方案:
git remote rm origin git remote add origin git@x.git