您的位置:首页 > 其它

git push/pull时总需要输入用户名密码的解决方案

2017-10-16 00:00 555 查看
在提交项目代码或者拉代码的时候,git会让你输入用户名密码,解决方案:(我们公司用的是gitlab)
执行git config --global credential.helper store命令

Administrator@JFQPFYAU9HP5 MINGW64 /f/operation (master)
$ git config --global credential.helper store
Administrator@JFQPFYAU9HP5 MINGW64 /f/operation (master)
$ git push origin master
Username for 'http://192.168.1.105': John
Everything up-to-date
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: