From 46b7f6d9491e603cd739479aa461f2882cda792f Mon Sep 17 00:00:00 2001 From: Black-Gold Date: Sat, 24 Nov 2018 14:34:14 +0800 Subject: [PATCH] --- Git.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Git.md b/Git.md index 59b51d6..9b4c875 100755 --- a/Git.md +++ b/Git.md @@ -33,11 +33,11 @@ git commit -a --allow-empty-message -m '' 设置记住密码(默认15分钟): git config -–global credential.helper cache 如果想自己设置时间,以秒为单位: -git config credential.helper 'cache –-timeout=3600' +git config credential.helper 'cache --timeout=3600' 长期存储密码: git config –-global credential.helper store - +取消存储密码 git config --global --unset-all credential.helper git config --unset-all credential.helper