在gitlab中添加了开发者的sshkey后 开发者pull/push代码还是需要输入用户名密码解决办法
输入git config --global credential.helper store命令
然后操作pull/push 会让输入用户名密码,第一次输入进去。下次再操作pull/push时就不需要输入用户名密码了。
在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
网友评论