赶知识网

git https记住密码

2022-09-09 / 642次点击 php/mysql/apache git

一、记住密码

设置记住密码(默认15分钟):

git config --global credential.helper cache

 

设置记住密码时间:

git config credential.helper 'cache --timeout=3600'

  

永久保存密码:

git config --global credential.helper store

  

二、清除密码

git config --system --unset credential.helper

  

三、修改远程地址

git remote set-url origin https://gitee.com/xxx/xxxx.git


有用 没用

Top10

沪ICP备09053415号 © 赶知识网