| 配置键 | credential.helper |
|---|---|
| 常用值 | cache / store / osxkeychain / manager(平台方案) |
| 调试 | git credential fill(会读取凭据,勿在共享环境执行) |
常用示例
常用示例
git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=3600'
git config --global credential.helper storestore 会把凭据明文保存在用户目录文件里,公共或共享机器慎用。