Linux下记住Gitee账户密码
创建Git认证文件
在~/下, touch创建文件 .git-credentials, 用vim编辑此文件,输入:
- https://username:password@gitee.com
执行命令
在终端下执行 :
- git config --global credential.helper store
验证结果
可以看到~/.gitconfig文件,会多了一项:
[user]
name = account
email = email@163.com
[credential]
helper = store
[push]
default = simple
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)