首页 > 系统服务 > 详细

linux 设置git记住密码

时间:2017-01-12 18:41:44      阅读:280      评论:0      收藏:0      [点我收藏+]

 

linux下:

1.在~/下, touch创建文件 .git-credentials, 用vim编辑此文件,输入:

https://{username}:{password}@github.com

注意去掉{}

2.在终端下执行  git config --global credential.helper store

3.可以看到~/.gitconfig文件,会多了一项:
[credential]
helper = store

linux 设置git记住密码

原文:http://www.cnblogs.com/liruixin/p/6279132.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!