首页 > 系统服务 > 详细

Git linux下保存密码方法

时间:2016-09-26 20:04:32      阅读:265      评论:0      收藏:0      [点我收藏+]

vi ~/.git-credentials

输入以下内容:

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

 

执行命令

git config --global credential.helper store

 

vi ~/.gitconfig,末尾添加了一项:

[credential]

helper = store

 

即可免密使用git命令。

Git linux下保存密码方法

原文:http://www.cnblogs.com/flasheryu/p/5910233.html

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