美文网首页服务器
解决gitlab中添加了sshkey push/pull时还需要

解决gitlab中添加了sshkey push/pull时还需要

作者: 这真的是一个帅气的名字 | 来源:发表于2022-08-23 15:54 被阅读0次

在gitlab中添加了开发者的sshkey后 开发者pull/push代码还是需要输入用户名密码解决办法

输入git config --global credential.helper store命令

然后操作pull/push 会让输入用户名密码,第一次输入进去。下次再操作pull/push时就不需要输入用户名密码了。

相关文章

网友评论

    本文标题:解决gitlab中添加了sshkey push/pull时还需要

    本文链接:https://www.haomeiwen.com/subject/uasggrtx.html