首页 > 解决方案 > Intellij 在 Windows 下不断用 git 提示输入凭据

问题描述

我在 Windows 中有 Intellij 设置。我的 SCM 是 git。我使用 git bash 作为我的 git 客户端。问题是我无法保留我的密码。

我已经尝试过 Intellij 提供的解决方案。但不能解决我的问题。

https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000047544-GIT-unable-to-remember-my-password

标签: intellij-ideagit-pushgit-clonegit-pull

解决方案


我们必须设置 git 客户端 (git bash) 的 credential.helper 配置参数,以使用 Windows Credential Manager 来存储我们的密码。这可以通过执行启用

git config --global credential.helper manager


推荐阅读