配置 git 仅询问一次密码并设置超时
如果我执行git pull或git push,那么总是会被要求输入密码。 我在 rackspeed 上生成了一对公钥/私钥。 我在 Bitbucket 中打开了我的项目:设置 -> 通用 -> 访问键 并添加了我的公钥。 然后我配置了 git看到这里,以便它记住密码600秒。 git config --global credential.helper 'cache --timeout=600' 我确保我的 git url 不是 https: origin [email protected]:company/example...