Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git-credential-winstore prompt does not work with self hosted repositories

git-credential-winstore works perfect with github and bitbucket repositories, but the prompt does not pop up while working with self hosted repositories. I can' t see what the problem is.

I' ve tried :

git config --global credential.helper winstore

via console

[credential]
    helper = winstore

in gitconfig and created and stored the credentials manualy. Without success. Can anyone point me to te right direction please? Im using Win7.

Best regards.

like image 945
Stephan Ahlf Avatar asked Oct 28 '12 09:10

Stephan Ahlf


People also ask

How do I authorize a credential manager in git?

When you connect to a Git repository from your Git client for the first time, the credential manager prompts for credentials. Provide your Microsoft account or Azure AD credentials. If your account has multi-factor authentication enabled, the credential manager prompts you to go through that process as well.


2 Answers

Copy git-credential-winstore.exe into C:\Program Files (x86)\Git\libexec\git-core

like image 153
linquize Avatar answered Oct 18 '22 05:10

linquize


Use "wincred" in place of "winstore". It will work. It solved same problem for me.

like image 35
Prashant Avatar answered Oct 18 '22 07:10

Prashant