清除本地账号
git config --system --unset credential.helper
将账号信息添加到缓存文件中,在输入命令之后还是需要在输入一次账号密码 以后就不用了。
git config --global credential.helper wincred
也可以设置缓存时间
git config credential.helper 'cache --timeout=3600'
清除本地账号
git config --system --unset credential.helper
将账号信息添加到缓存文件中,在输入命令之后还是需要在输入一次账号密码 以后就不用了。
git config --global credential.helper wincred
也可以设置缓存时间
git config credential.helper 'cache --timeout=3600'