文章目录
技术细节
编辑Git 配置文件: vim ~/.gitconfig
修改配置文件,添加下面内容:
bash
[credential]
helper = store
再触发填写一次用户名密码,就保存了。
如果系统找不到.gitconfig文件:
bash
git config --global --edit