git每次提交代码都要输入一次密码, 这太麻烦了, 可以在.git/config中添加配置
1 2
| [credential] helper = store
|
完整代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| [core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true [remote "origin"] url = https://gitee.com/xialonggui/yygh-admin.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [credential] helper = store
|
参考: