Reputation: 34297
I haven't changed my Windows AD password, but I'm suddenly getting prompted when performing git
commands, like git pull
.
I've tried various things, like changing my .gitconfig to use HTTPS instead of SSH (git). I also updated my Windows Credential Manager to make sure it was using the correct AD password.
Someone suggested I abandon SSH and use HTTPS instead. I'm struggling to figure out how to do that. No matter what I do, I keep getting the OpenSSH dialog. How can I change to HTTPS, or stop that dialog from coming up with every git
command?
If it helps, here is my .gitconfig (with the diff and merge options removed):
[user]
name = myuser
email = [email protected]
[push]
default = simple
[credential]
helper = wincred
Upvotes: 1
Views: 956
Reputation: 1
I had the same issue. you just need to install GCM https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.475
Upvotes: 0
Reputation: 34297
Looks like this command worked for me:
git config --global credential.useHttpPath true
That caused the last line here to be in the .gitconfig file:
[credential]
helper = wincred
useHttpPath = true
The first time I did a git pull
, I got the prompt again. But after that I'm no longer getting the login dialog.
Upvotes: 1