-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Better documentation on git credential-manager store #1683
Comments
I think the canonical way to store a credential is via If you need to use |
Thanks, I'll look into approve (it wasn't very intuitive :)) The issue remains though - the docs for store are lacking. Whatever it's doing needs to be documented. |
Heh. Git's credential machinery was not designed to be used like that. For pre-authentication, I think the idea was to use a non-interactive credential helper like Granted, the only really useful credential helper that is shipped with Git for Windows (which you seem to need to be using) is GCM.
This lack of documentation is probably due to the fact that this |
Understood, thanks for the explanation. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
@KirillOsenkov if you're looking to use GCM and authentication from automation for Azure Repos you may also like to look at the service principal and managed identity support in GCM https://aka.ms/gcm/misp Otherwise, @dscho is correct that using |
We are in a CI environment and can't use UI. We obtain a token for auth to push to Azure Repos, but not sure what's the right way to add the token to Git.
I'm failing to find good documentation on
git credential-manager store
. It just says you don't need to use it, but it probably implies I'm a regular user in a UI scenario, not a service account on a CI machine.The text was updated successfully, but these errors were encountered: