您的位置:首页 > 其它

git push时候总提示输入账号密码 - 免除设置

2014-04-27 15:00 477 查看
linux下

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

touch .git-credentials

vim .git-credentials

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


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

3. 可以看到~/.gitconfig文件,会多了一项:

[credential]

helper = store


更多:

windows下: http://www.cnblogs.com/ballwql/p/3462104.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐