1 编辑文件 vim ~/.gitconfig 2 追加内容 [credential] helper = store 转载于:https://my.oschina.net/qiudaozhang/blog/3001717