Git-credential-manager-for-windows: Multiple accounts

Created on 20 Nov 2017  Â·  8Comments  Â·  Source: microsoft/Git-Credential-Manager-for-Windows

Hi,

I'ts very unclear to me what steps I should preform to enter username+password for all my accounts and never need to reenter them again when I preform various git operations from Command-line/GUI?

Can someone point me to detailed instruction?

question

All 8 comments

You should be prompted when you need to enter them. Once entered, the credentials are stored securely by your operating system, and reused by Git until they expire; at which point you'll be prompted again.

I’m so sorry for this mix-up. It was never my attention to creat dubbel acounts. When I was several day’s in the hospital my son install a VPN connectie for acces to servers for gaming. The problem was, he didn’t told me, it was after a few day’s that I saw VPN in the front of adressbox. I will remove the program and hope that it’s solved. Friendly greetings From Antwerp,Merksem in Belgium.

Verzonden vanuit Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 voor Windows 10


Van: Mr.Paul notifications@github.com
Verzonden: Tuesday, November 21, 2017 7:09:35 AM
Aan: Microsoft/Git-Credential-Manager-for-Windows
CC: Donrob; Comment
Onderwerp: Re: [Microsoft/Git-Credential-Manager-for-Windows] Two Github accounts, Two Bitbucket accounts, Two GitLab Accounts - how to? (#513)

p.s.
when asked by whom ever; we are calling holes in the future because some got lost once and perhaps they were of little or no importance, however If whom ever it may have concerned could maybe if ever https://guides.github.com/features/mastering-markdown/the chance entails allowing the discovery of a particle instruction acknowledging some of routine that allows sending ones own coordinates form a previous hop or chipset then let us know...we were here to help and transmission. . .-<-------------------------------------------------------------------------------->

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/513#issuecomment-345927018, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ada9ujcK-P12s2-0PT2UlbaKBZIegzadks5s4mkegaJpZM4QklBk.

I am not prompted for any credentials. The reason may be that I have a globally installed certificate on my work computer. But now I need to push to a repository with different credentials. How do I override that from this one repository?

@thomaseyde if Git isn't asking the GCM or you for credentials, I'm not sure how to override the behavior.

Perhaps you could use the <username>@<url> format for your host name, and that might hint Git to use alternate credentials?

@whoisj I had to use:

[credential] helper = manager useHttpPath = true

to force GCM behavior to store Windows "Credential Manager" credential URL as:

git:https://github.com/ALIENQuake/<Repository>.git

but the problem with this approach is that now GCM will skip default credential entry of 'git:https://github.com'

Do you see a way for GCM to always try default creditials and if it fails, ask to store it under 'git:https://github.com/ALIENQuake/.git' Windows "Credential Manager" credential URL?

@ALIENQuake sounds like a very good enhancement. Perhaps you could craft a pull-request for such a feature?

@whoisj I would like but I know only basics of c#. I'm just an user who always see the way for one less click/action.

@ALIENQuake understood, I've been there myself. I probably couldn't "Hello world" with 95% of languages out there, so I definitely understand. At the same time, please understand that without the added developer contributions this item will land on the backlog and I'll get to it at some future date.

Thanks again!

Was this page helpful?
0 / 5 - 0 ratings