本文主要是介绍Git设置不需要输入密码,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
目录
- 一、默认记住密码15分钟
- 二、设置记住密码时间
- 三、永久记住密码
- 四、增加远程链接时就设置密码
一、默认记住密码15分钟
git config --global credential.helper cache
二、设置记住密码时间
git config credential.helper 'cache --timeout=3600'
三、永久记住密码
git config --global credential.helper store
四、增加远程链接时就设置密码
http://user:password@192.168.1.15/yyproject/shop.git
这篇关于Git设置不需要输入密码的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!