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
5
votes
1 answer

Git LFS does not respect level of config files for credential.helper

Running a Git LFS command such as GIT_TRACE=1 git lfs locks reveals that the system credential.helper is used, even though it is overwritten by the local config. Running git config --system -l lists 'credential.helper=manager' whereas git config…
Sc4v
  • 348
  • 2
  • 10
4
votes
1 answer

Powershell Remote session and Git Credential Manager on Windows Server

I am accessing server via PS remote session. I am trying to run a git pull from a github repo. The git credentials on the remote machine are stored in Windows Credential Manager. However I get this error: fatal: Unable to persist credentials with…
3
votes
0 answers

How to use SSH credentials and GPG for dev container in vscode?

I am using VScode on macOS and are exploring dev containers to use for development to encapsulate all dependencies required to build my Go project. I created a dev container from my existing local Git repository and installed Ubuntu with Python and…
3
votes
1 answer

How do I send a username and password to git's credential user prompt from my powershell script?

I am using a script to checkout and update a list of branches. I am able to retrieve git credentials from the Windows Credential Manager and I need to respond to the prompt for git credentials using them. How do I send text to the git user prompt…
Ridiculon
  • 323
  • 4
  • 12
3
votes
2 answers

How to fix git error "Failed to enumerate credentials. [0x520]"

I'm using git over ssh on a remote machine that is running Windows 10. When I try to do a git pull, I get the error message in the title after entering my credentials.
Eric Pedley
  • 103
  • 9
3
votes
1 answer

How to store multiple PATs/passwords for use by git?

One password is no problem I wanted to store my credentials "safely" for use by git so I did as instructed here. This way I don't have to input password/PAT every single time, I perform any git operation. Install libsecret using sudo apt-get…
agent18
  • 2,109
  • 4
  • 20
  • 34
3
votes
2 answers

Can't clone, can SSH. "Permission denied (publickey)."

I cannot clone or push to a repository on my server. I have a bare repo that is located is a directory user@host in directory home/user/test.git that I am trying to access via git clone. I used ssh-add to add my ssh key. It asked me for…
Adam V. Steele
  • 559
  • 4
  • 18
3
votes
1 answer

git push and pull over http hangs on Windows, no errors

As the title says when I attempt to git push it simply hangs. This is on Windows 10 with existing repos and some new ones I created specifically for testing this. I've also tried two different hosts (i.e. github and bitbucket). My public repos on…
Nathan
  • 435
  • 4
  • 16
2
votes
1 answer

Git Credential Manager failing with unsupported browser error

I'm using Git For Windows 2.40.1 on Windows 10 to access a repository on Azure DevOps. It was working fine on Friday, today it's broken. Any attempt to access the repo launches the Git Credential Manager which prompts me to login, then displays a…
Neutrino
  • 8,496
  • 4
  • 57
  • 83
2
votes
0 answers

What are possible reasons for the " warning: could not find UI helper 'GitHub.UI' " with Git under windows

My Git version is 2.39.0 (the recent one) under windows 10. I got the warning: could not find UI helper 'GitHub.UI' when trying to clone a rep on github. What are possible causes of this error? And how to fix it? Reinstalling Git, rebooting.…
NotaChoice
  • 119
  • 5
2
votes
3 answers

Clear git-credential-manager-core cached login

Cannot clear the git-credential-manager-core cache it always show the last user Using Windows credentials Manager - no login regarding Git Using the "Forget: option in Dialog not working Using "Erase" in Git Bash Not clearing Delete all…
galsi
  • 421
  • 1
  • 6
  • 19
2
votes
2 answers

Updating Git for Windows credentials for Bitbucket app password

I'm using Git 2.35.1.windows.2 on Windows 10. I understand that this version uses the Windows Credential Manager. Bitbucket recently deprecated the use of the Bitbucket account password for HTTPS Git requests in favor of app passwords. I have a…
Garret Wilson
  • 18,219
  • 30
  • 144
  • 272
2
votes
2 answers

unable to generate git credential for Azure Repos git using Azure DevOps

While clicking the button to generate git credentials under Azure DevOps, the option is loading with an anonymous exception, and the git credentials are not getting generated for a particular AD User. How can I get past this error?
2
votes
1 answer

Using multiple git personal access tokens (PAT) with Credential Manager

I'm using GitCredentialManager as per this answer but I can't find a way on how to use multiple Personal Access Tokens (PAT). I have a Windows terminal gist at https://gist.github.com/lkeersmaekers/4884d047b3b90ccd697a4d7ec21be49d a dotvim repo at…
Lieven Keersmaekers
  • 57,207
  • 13
  • 112
  • 146
2
votes
3 answers

Getting prompted with a GitHub Login Interface whenever I try to push to repo

this happened around 3 weeks ago, when they said https connections to GitHub would be removed. That's when this Login UI started popping whenever I tried to push, even though I provided the correct username and password, it said it's incorrect. Then…