Questions tagged [git-credential-manager]

The Git Credential Manager (GCM) is a credential helper for Git.

Git Credential Manager (GCM) is a secure Git credential helper built on .NET that runs on Windows, macOS, and Linux. It aims to provide a consistent and secure authentication experience, including multi-factor auth, to every major source control hosting service and platform.

103 questions
1
vote
1 answer

Git keeps storing credentials in Windows Credential Manager

I'd like to use some git credentials for only single command. git -c remote.origin.url="http://pass:user@gitserver/GitRepo" push But after doing that credentials are saved in Credential Manager (i can see them in Windows Credential Manager), and are…
karol.etrych
  • 43
  • 1
  • 5
1
vote
1 answer

Git Personal Access Token caching

"C:\ProgramData\Miniconda3\Scripts\gh.exe auth git-credential get: C:ProgramDataMiniconda3Scriptsgh.exe: command not found" Error message showing when I use git push. git push task is completed successfully but this error message is showing…
1
vote
1 answer

custom git credential helper using java hangs at user input

I am developing a custom git credential helper using java and trying to implement azure device code flow in the background. As part of implementation i have to print URL and device code on console which user will use for authentication then press…
Umesh Kumar
  • 1,387
  • 2
  • 16
  • 34
1
vote
0 answers

Git credential gpg/pass TTY-only setup fails with "fatal: GPG_TTY is not set" eventhough it is

I try to make Git-credential-manager-core to work on ubuntu with fish in wsl2 following instructions from https://github.com/microsoft/Git-Credential-Manager-Core/blob/main/docs/linuxcredstores.md. I went with option 2.GPG/Pass and as I understand…
zaabson
  • 151
  • 12
1
vote
1 answer

git pushed with another account to my other account?

I created a new GitHub account and did a git push --setup-upstream origin after I added my origin branch. After deleting my old GitHub credentials under Credential Manager in Windows, it seemed to be working fine, was getting the GitHub-sign-in…
Jason Todd
  • 181
  • 2
  • 10
1
vote
1 answer

GIT credentials disappearing from Windows Credential Manager

I've been dealing with my GIT credentials being deleted from Windows Credential Manager in ~24h. I'm using the latest version of GIT as of today (12/22 - 2.29.2), but I don't even know if the deletion is being triggered by GIT Credential Manager…
1
vote
2 answers

Using GitPython in Azure DevOps pipelines causes 'git: 'credential-manager-core' is not a git command

When we use GitPython in Azure DevOps and try to push to a repository, the following message occurs (same repository as cloned by the pipeline): stderr: 'git: 'credential-manager-core' is not a git command. See 'git --help'. Infrastructure:…
1
vote
1 answer

git credential.helper instead of .netrc to get go dependencies

To cashing go dependencies I use nexus(as goproxy) which connect to goproxy servers (because nexus can't get dependencies directly from GitHub) outside of private network. nexus.some.repo.com:4443/repository/go-nexus-proxy ➡️…
kozmo
  • 4,024
  • 3
  • 30
  • 48
1
vote
1 answer

Repository with git-credential-libsecret binaries for CentOS 7?

I am trying to store my git credentials securely on my CentOS 7 machine using git-credential-libsecret without success, migrating from the insecure git-credential-store. TLDR; I cannot find any prebuilt binaries of git-credential-libsecret for…
cyqsimon
  • 2,752
  • 2
  • 17
  • 38
1
vote
1 answer

Deploy Script: What are the git commands to set / store credentials from a script and then clear them later unattended?

I have written a simple NodeJS HTTPS listener to receive a POST with an authentication token, and git credentials. This will be run when a Web Hook hits the end-point URL after code is returned to the repository. What I'd like to do is take those…
Doug
  • 6,446
  • 9
  • 74
  • 107
1
vote
2 answers

Using multiple accounts to access Azure Devops Git repo from Visual Studio

I get this error when trying to clone a repository from Azure Devops in Visual Studio 2019 : TF401019: The Git repository with name or identifier X does not exist or you do not have permissions for the operation you are attempting. Error encountered…
Phil-R
  • 2,193
  • 18
  • 21
1
vote
1 answer

Zsh alias for changing git credential-osxkeychain

I regularly need to replace my default git osxkeychain credentials, using the command-line. The way I do it manually is as follows: git credential-osxkeychain erase host=github.com protocol=https password=foo username=bar…
Josh Friedlander
  • 10,870
  • 5
  • 35
  • 75
1
vote
1 answer

Using different credentials for alternating repos with Microsoft Git-Credential-Manager

I'm using Microsoft Git-Credential-Manager for Linux (Ubuntu) for a couple weeks, with some credentials, and now I need to push modifications to a different repo with different credentials. But I can't do this, because GCM is trying to use incorrect…
darksoulsong
  • 13,988
  • 14
  • 47
  • 90
1
vote
1 answer

How to Turn off GIT Credentials Manager

When GIT is installed it asks if you want to use the Credentials Manager. Is there a way to turn off the credentials manager through the settings or command line after it has been installed with the credentials manager turned on?
Joshua
  • 11
  • 4
1
vote
1 answer

Git credential manager and manually created PAT

I have to work from computers owned by customer. Our work's code is managed under a Azure Dev Ops repository, where I log in using my personal Microsoft Account. In order to reduce risk, I created a personal account with minimal rights within my…
Steve B
  • 36,818
  • 21
  • 101
  • 174