请稍侯

实现 git 仓库免输入密码配置

11 March 2025

实现 Git 仓库的 remote 地址为 HTTPS 类型时的免输入密码

配置 Git 使用凭证助手来存储你的用户名和密码,这将会缓存凭证(默认缓存时间为 15分钟):

git config --global credential.helper cache

如果希望永久存储,可以使用:

git config --global credential.helper store