git免用户名密码push等操作

来源:互联网 发布:淘宝如何找上家 编辑:程序博客网 时间:2024/05/29 04:55

1.进入C:\Users\Administrator.

2.找到.gitconfig和.git-credentials文件。


3.在.git-credentials文件中加上下面一句话:

https://{你的用户名}:{你的密码}@github.com

4.在.gitconfig中加入下面内容:

[credential]helper = store

OK。搞定。