永久缓存 Git 凭证
永久缓存 Git 凭证
打开终端或命令行工具。
执行以下命令,设置 Git 使用 store 凭证帮助程序:
bash
git config --global credential.helper store
第一次执行 git pull 时输入账号密码。之后,所有需要凭证的操作都将自动使用存储的凭证,无需再次输入
永久缓存 Git 凭证
打开终端或命令行工具。
执行以下命令,设置 Git 使用 store 凭证帮助程序:
bash
git config --global credential.helper store
第一次执行 git pull 时输入账号密码。之后,所有需要凭证的操作都将自动使用存储的凭证,无需再次输入