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

Why doesn't `git credential-manager-core` accept arguments?

In the question Why am I suddenly not having push permission? I was advised to use this command to store my credential: printf "host=github.com\nprotocol=https\nusername=ooker777\npassword=ghp_yourToken" | git credential-manager-core store I was…
Ooker
  • 1,969
  • 4
  • 28
  • 58
0
votes
0 answers

How can I stop saving credentials in windows credential manager?

Why is windows credential saving my git password without my knowledge ? I am saving my config file in text format ( for portability reasons) by using the below command. It works fine even after I deleted the git credential from the windows…
0
votes
0 answers

Git overrides previous credentials after using token in clone command

If we reference a pvt git repository in npm package.json "fa_nodejs_dms_core": "git+https://{token}-oauth-basic@github.com/{org}/{repo}.git" and run npm install what git does is to make a entry in my ~/.git-credentials with the new token and…
Ayush P Gupta
  • 1,459
  • 1
  • 17
  • 24
0
votes
0 answers

git remote - can it be set on the global / system level rather than on the project (repo) level?

as in the subject: is it possible to have a git remote config on the global or system level, rather than for each individual project (repo)? This is in relation to a scenario in which we are working with two different source control platforms, one…
fimuko
  • 1
0
votes
1 answer

force git to open browser for authentication

I am trying to clone a repo from Azure DevOps, but the repo URL contains the username found when browsing to the repo page on our DevOps repo page. This is not my username and so when I try to clone, in my Ubuntu VM instance, it asks me for the…
Matt W
  • 11,753
  • 25
  • 118
  • 215
0
votes
1 answer

Scripted git clone fails using git credential manager

I have a developer workstation provisioning script where I'm am attempting to clone out the base code devs work on. However, when provisioning credentials to the git credential manager the script is throwing an error. Script: # configure git…
Matt Riley
  • 293
  • 1
  • 2
  • 16
0
votes
0 answers

Can I use git without the GCM on Windows?

Is the Git Credential Manager required on a Windows system? In the past I have been installing git-scm and unchecked Git Credential Manager sofar without and adverse effects. Installing additional ways of checking credentials just adds an attack…
theking2
  • 2,174
  • 1
  • 27
  • 36
0
votes
0 answers

Can I manage a git credential from Github? Does it expires after a time without usage?

Is there any way I could check and manage my credentials to push/pull repositories in github website? Because there's a computer from the company I work which I have no access anymore, and I would like to remove the credential to push/pull…
PDJ
  • 21
  • 4
0
votes
1 answer

can i use multiple git accounts in same local system(in Credential Manager)

While I'm trying to fetch branch which is recently created , it shows me remote: Repository not found. That's because of earlier I have added different account in Credential Manager , which is not belonging to the repo which is recently created My…
0
votes
0 answers

Automating git commands in C# does not remember Windows Credential Manager credentials

I have a LINQPad script that issues git commands via the cli using C# Process class and performs commands for several repositories at once. The repositories are hosted on a TFS server. Everything works fine in my terminal when doing commands…
Terry
  • 2,148
  • 2
  • 32
  • 53
0
votes
1 answer

Where are the git credentials stored after cloning private repository | windows 10

This: Where the git clone passwords are being stored or cached? is basically the question I have but it's unanswered. If I clone a private repository from my github account via https, i get asked for username and password once. And then never ever…
swftowu69
  • 123
  • 1
  • 9
0
votes
1 answer

autodetection timeouts in git-credential-manager?

I just updated to the latest version of Git and now I have these messages on every interaction with remote repositories It is supposed to be solved a lot of versions previous to the one I am using, but no. How can I remove those or avoid pollution?
FiruzzZ
  • 661
  • 1
  • 6
  • 21
0
votes
0 answers

Is it possible to access github.com through git-credential-manager-core.exe? How to implement it?

I'm developing git third-party tools. I want to call git-credential-manager-core.exe in C / C + + through external program instead of GIT command line.Can anybody point to an example or guidance on how to best hook this up?
alpha
  • 43
  • 6
0
votes
1 answer

Able to clone but not able to push

I am unable to push the repository. I am able to clone the repository. I have seen in my credential manager, but I can't see my credentials saved there. I did try using git config --global user.name "UserName" git config --global user.email…
0
votes
1 answer

Deleting the credentials from Windows Credential Manager still displayed credentials when using git credential fill command

I'm running the latest Git For Windows 2.29.2 , and for me credential.helper is set to manager-core by default. I did confirm that running git config --system --list. I wanted to implement token based authentication for any of the git operations…
Asif Kamran Malick
  • 2,409
  • 3
  • 25
  • 47