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
2 answers

Cloning repository from MSA backed Azure DevOps using Visual Studio 2017 or 2019 and AAD account

Microsoft has introduced the option to invite AAD users into MSA backed Azure DevOps accounts. This is great for companies that are transitioning accounts over from "unmanaged" to "managed", starting with transferring account ownership to an AAD…
1
vote
0 answers

Null Reference exception in android studio while connecting to VSTS git

I am using android studio and VSTS (git). out of nowhere i faced an error fatal: NullReferenceException encountered. Object reference not set to an instance of an object. event though i am signed in VSTS it keep asking to sign in again and…
Farrukh
  • 153
  • 1
  • 8
1
vote
1 answer

Cloning repository via visual studio shows error: cannot spawn askpass: No such file or directory

I have a repository on git hub, and I'm trying to clone this repository to a different computer. I'm going to the repository -> open in visual studio -> after the computer filled the repository address and the folder to save it, I'm pressing clone,…
0
votes
0 answers

Git credential cache does not match`path=` correctly

I really dont get Git 2.41.0 and its crude git credential-cache manager: When I test git credential-cache with the below script (setsid test.sh). if it can report 3 different passwords it will fail with fatal: could not read Username for…
Gabriel
  • 8,990
  • 6
  • 57
  • 101
0
votes
0 answers

Why is Giit `credential.` with `useHttpPath` not treated correctly?

I have the following in my global gitconfig [credential "https://git.server.com"] useHttpPath = true and a credential entry to the Git credential manager with echo -n…
Gabriel
  • 8,990
  • 6
  • 57
  • 101
0
votes
0 answers

Cache git credential manager web login

I am using latest git with git credential manager. I am authenticating by web login to my user account (our organisation uses single sign on, so it is only a click). However, I have to do this "click" each time I push or pull something. Git…
Felix
  • 21
  • 7
0
votes
0 answers

Git credential manager to store credential from salsa.debian.org

I am cloning multiple repositories from salsa.debian.org, I am wondering how I can use git credential manager to store the password for this site? Every 100 or so repositories that I clone, it will prompt me for passwords, how can I avoid typing in…
nerd
  • 473
  • 5
  • 15
0
votes
0 answers

Git Credential Manager (GCM 2.2.2) yields `fatal: acces denied`, unable to authenticate with Git to GitHub on Windows 7

I use Git and GitHub using the default Git Credential Manager (GCM) on my Windows 10 machine without any problems. Now, I installed Git with the same setup (all the default settings) on my 2 Windows 7 machines and git is working. When I try to clone…
0
votes
0 answers

Problems with git credential manager

I am facing issues with the git credential manager. I have 2 accounts, and I have specific repositories that use a specific account. Until now, I logged-out and logged-in everytime at VSC, till I heard today that there is a credential manager to do…
0
votes
1 answer

Why is git bash for windows slow except when offline?

When opening Git bash or running any command, the time it takes to complete these actions is agonizingly long. The startup time is also way too long. However, if I disable my network connection, it works normally. Here is what I have tried that…
Lee
  • 67
  • 5
0
votes
0 answers

Run into issue with downloading Git Credential Manager through homebrew

I'm trying to download the git credential manager for my mac(zsh) using ~ brew tap microsoft/git ~ brew install --cask git-credential-manager-core It's giving me a long error message: Failed to quarantine. What does this mean. How can I resolve…
tly
  • 1
  • 1
0
votes
0 answers

Git in WSL2 Ubuntu is super slow with Azure Devops

Since a couple of weeks ago I've experienced a very annoying issue with git in Ubuntu on my Windows 10 system (WSL2). When doing a git fetch, pull or clone against a repo on Azure Devops it takes several minutes before something happens. Cloning…
Zenit_swe
  • 121
  • 1
  • 6
0
votes
1 answer

Error GCM on bitbucket - git-credential-manager: egg/egg-secure-memory.c:596: sec_free: Assertion `cell->requested > 0' failed

This error keeps showing when i try to push or clone a private repository on Bitbucket , even though works fine on Github. I'm using Linux Ubuntu 20.04. git-credential-manager: egg/egg-secure-memory.c:596: sec_free: Assertion cell-\>requested \> 0'…
0
votes
0 answers

Issue supplying git credentials to docker alpine/git

I'm trying to create a docker image with multi-stage build: First stage pulls a private git repo Second stage builds that repo and runs a script I have my git credentials stored in /Users/kabc/.config/git/credentials file on my host machine. I'm…
Kartik
  • 7,677
  • 4
  • 28
  • 50
0
votes
0 answers

where is the git config credential.helper value coming from?

I have multiple git repositories On some repositories git config credential.helper returns manager while on others it returns helper-selector. Where are these different values configured? It does not exist in the .git/config file.
Rahul Yadav
  • 2,627
  • 5
  • 30
  • 52