0
点赞
收藏
分享

微信扫一扫

git-保存密码

兽怪海北 2022-04-08 阅读 40
git

设置记住密码(默认15分钟):
git config --global credential.helper cache

如果想自己设置时间,可以这样做:
git config credential.helper ‘cache --timeout=3600’

这样就设置一个小时之后失效

长期存储密码(这句):
git config --global credential.helper store

举报

相关推荐

Git-简介

Git-安装

Git-远程仓库

Git-分支管理

Git-重要配置

git-开发命令

教你玩转Git-合并冲突

Git-基本理论

0 条评论