You can check your credentials storage by the following command:
$ vim ~/.git-credentials
也可以直接编辑该文件:
http://username:password@gitlab.xxx.com.cn
再运行:
$ git config --global credential.helper store
本文介绍了一种通过命令行检查和编辑Git凭证存储的方法。具体步骤包括使用vim编辑器打开~/.git-credentials文件来查看已存储的凭证信息,并通过git配置命令启用凭证缓存。
You can check your credentials storage by the following command:
$ vim ~/.git-credentials
也可以直接编辑该文件:
http://username:password@gitlab.xxx.com.cn
再运行:
$ git config --global credential.helper store
2596

被折叠的 条评论
为什么被折叠?