-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since installing Git for Windows version 2.41.0.2
I now get a GitHub "Select an account" dialog
#4503
Comments
And did you click on
? |
I had 2 options to click on (not sure why) both called I clicked on the first one and then clicked Continue and the command I have to do this every time (which is annoying ) I run commands like |
That dialog is indeed new. git-ecosystem/git-credential-manager#1267 I was asking about the blue help link in your screenshot. And that document indeed has a section on how to make GCM pick one account by default. |
Looking a little further, you might be experiencing git-ecosystem/git-credential-manager#1325 This was fixed with GCM 2.2.2, which will be included in the next release of Git for Windows. |
Yes, I think your right that I might be experiencing git-ecosystem/git-credential-manager#1325 I ran:
which returned one item in the list: Then I ran:
to remove the account. Then I ran:
and chose the option to authenticate using a browser, which took me to GitHub where I had to authorise the Git Credential Manager as a new OAuth application using my TOTP mobile application. Then I ran:
which returned one item in the list: Now when I run:
I no longer get the account selection dialog and the push completes sucessfully. I'm not sure yet what effect running those commands above will have done to my instance of Visual Studio which also uses GitHub. |
Found an issue in the documentation so sent a PR to fix it: git-ecosystem/git-credential-manager#1334 |
Correct! And 2.41.0(3) was just release in the last moment, which includes the fixed GCM 2.2.2. https://github.com/git-for-windows/git/releases/tag/v2.41.0.windows.3 |
Setup
defaults?
to the issue you're seeing?
** insert your response here **
Details
Windows Terminal / PowerShell
7.3.5
Minimal, Complete, and Verifiable example
this will help us understand the issue.
My code is pushed to GitHub
I get the following dialog box:
This dialog is new since installed Git for Windows version
2.41.0.2
URL to that repository to help us with testing?
All repos affected.
The text was updated successfully, but these errors were encountered: