You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
352 B

6 years ago
设置记住密码默认15分钟
git config -global credential.helper cache
如果想自己设置时间,以秒为单位:
6 years ago
git config credential.helper 'cache -timeout=3600'
6 years ago
6 years ago
长期存储密码:
git config -global credential.helper store
6 years ago
git config --global --unset-all credential.helper
git config --unset-all credential.helper