![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
冬狮郎sun
没有想不到,只有做不到
展开
-
git清除与保存用户名密码
Https记住密码永久记住密码git config --global credential.helper store会在用户主目录的.gitconfig文件中生成下面的配置[credential] helper = store如果没有–global,则在当前项目下的.git/config文件中添加。当然,你也可以直接复制上面生成的配置到配置文件中。临时记住密码默认记住15分钟git config –global credential.helper cache自定义配置记住1转载 2021-08-20 09:49:17 · 1038 阅读 · 0 评论 -
git多仓库多帐号管理及相关配置
SSH的密钥管理主要包括两个方面:生成公钥/私钥对以及公钥(私钥自己保密)的分发。多个github仓库和多个github帐号需要生成多个密钥对。假设有用户user_one 下的仓库one,地址为git@github:user_one/one.git 用户user_two 下的仓库two,地址为git@github:user_two/two.git1.全局配置git config --global原创 2017-11-17 10:09:29 · 1180 阅读 · 0 评论