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

Github Personal Access Token. Error fatal: not in a git directory

I'm trying to use my github personal access token in RStudio. When I try to run $ git config credential.helper store I get the error "fatal: not in a git directory." I've tried creating a new project and intializing it as a git repository but it…
beast5000
  • 21
  • 2
2
votes
1 answer

Use go get to require dependency from private github repo on WSL 2

I'm trying out WSL 2 on windows 10 and it's gone well so far, but I've been struggling for 2 weeks to make this work, because for some reason go get doesn't use or is not able to make the Git Credentials Manager to prompt for my credentials. I…
Migdress
  • 158
  • 3
  • 13
2
votes
1 answer

Git Credential Manager - not loading when proxy enabled

When working with corporate proxy - GCM not loading on clone/push from command line OS - Windows 10 LTSC 1809 Visual Studio 2017/2015 Git for windows 2.21 Repo - Azure DevOps server 2019 with update 1(On Premise) Proxy - Corporate proxy I tried…
galsi
  • 421
  • 1
  • 6
  • 19
2
votes
1 answer

Simple-git requesting username and password on each git command

Here is the problem https://www.npmjs.com/package/simple-git. I am using npm module simple-git to work with a local git-repository. The local git repository is already checkout locally and I can work with the repository via git-bash…
Hivaga
  • 3,738
  • 4
  • 23
  • 36
2
votes
2 answers

push to Azure DevOps git repo: GCM: NullReferenceException

I installed GCM (Git Credential Manager) on my Windows OS. Using it I can push to GitLab and Bitbucket repositories, successfully. But about Azure DevOps: >git push Azure master fatal: NullReferenceException encountered. Object reference not set…
Mir-Ismaili
  • 13,974
  • 8
  • 82
  • 100
2
votes
0 answers

Git Credential Manager for Windows Memory Issue

I have a powershell script that pulls the latest commit of a repository from github and then builds it using either msbuild (for .net) or webpack (for angular). The script itself is run using windows task scheduler, which checks a deployment queue…
Daryl1976
  • 675
  • 2
  • 8
  • 20
1
vote
2 answers

Git credential manager complains that my browser blocks cookies

I am trying to manually clone a git repositories hosted in Azure DevOps as follows: git clone https:// but git credential manager complains that my browser is blocking cookies: Windows Credential Manager pop up I checked my…
Carmelo
  • 21
  • 2
1
vote
0 answers

fatal: Failed to locate a utility to launch the default web browser in GIT

I have a situation with git on WSL I use the Debian distro. When trying to push the local to the remote repo: git push -u origin main; tries to authenticate but stays in the following: info: please complete authentication in your browser... fatal:…
1
vote
0 answers

Can not use git credential manager on Ubuntu

I have some repositories on Bitbucket that I can clone them using the git command line (HTTPS) it saves my password in Git Credential Manager and I do not need to enter it every time I am to pull or push to the repository. Now I want to do the same…
mans
  • 17,104
  • 45
  • 172
  • 321
1
vote
2 answers

git credential-manager still prompts for password every time

We're using git-credential-manager and connecting via SSH to a remote git repository which we host. But every time we push/pull it still prompts for a password. Any suggestions on how to configure this correctly? Please comment if you need more…
Matthew Conradie
  • 990
  • 2
  • 8
  • 17
1
vote
1 answer

Blank screen for Git credential manager window in Visual studio 2022

Team, we are currently using dev vm for our development. i am getting a blank screen for git credentials manager when trying to clone a solution inside visual studio 2022. i have tried updating VS to the latest version, restarting VM and restarting…
1
vote
1 answer

Why does `git config --global credential.helper` show wincred when it seems that I'm using Git Credential Manager Core?

As I understand this article, Git Credential Manager Core is not the same with Git Credential Manager or Windows Credentials. After using this command printf "host=github.com\nprotocol=https\nusername=ooker777\npassword=ghp_yourToken" | git…
Ooker
  • 1,969
  • 4
  • 28
  • 58
1
vote
2 answers

How setup credentials in Git Credential Manager on Linux?

I'm new to using Gitlab. My workplace has recently moved from on-prem Git to a cloud-based Gitlab host. I used ssh authentication in the past with our on-prem so never had to deal with credentials hanging around (I'm using Linux) in .git/config or…
Nstevens
  • 267
  • 2
  • 8
1
vote
2 answers

Sharing ssh credentials with dev container in vscode

I have setup a VS Code dev container and I can run and debug my code inside. My ~/.gitconfig from my host system was correctly copied into the container. However, my ssh credentials don't seem to work (or are not available), neither are my gnupg…
1
vote
1 answer

How can I store Github token with Git Credential Manager on Ubuntu?

With the new Git Credential Manager (GCM) how can I use it to store Github access token on Ubuntu? I have tried to read the usage text and it is not clear how one can store Github token using it.
Amani
  • 16,245
  • 29
  • 103
  • 153