git 总是弹出 openssh 对话框提示输入账号的问题

修改成 ssh 模式就可以了

按照这个说法修改成功

这个仅仅针对 private 类型的项目,public 类型的项目因为不存在身份认证,https 模式不会提问

查看当前的remote方式

git remote -v

修改为openssh:

git remote set-url origin [email protected]:用户名/仓库名.git

修改为https

git remote set-url origin https://gitee.com/用户名/仓库名.git

猜你喜欢

转载自blog.csdn.net/qq2942713658/article/details/114240485