扫码关注官方订阅号
老板没有配置 ssh, 现在是http, 每次都要登录账号密码,怎么避免这种情况呢?
可以将你的密码缓存下来,只用输一次密码,以后都可以不用输入了。缺点就是密码都明文保存在~/.git-credential文件中。Git for linux
~/.git-credential
git config --global credential.helper cache
Git for windows
git config --global credential.helper wincred
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
可以将你的密码缓存下来,只用输一次密码,以后都可以不用输入了。缺点就是密码都明文保存在
~/.git-credential文件中。Git for linux
Git for windows