microsoft / Git-Credential-Manager-for-Windows

Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication.
Other
2.87k stars 590 forks source link

Installation does nothing #397

Closed JediMasterThrash closed 6 years ago

JediMasterThrash commented 7 years ago

I downloaded and installed GCMW-1.9.0.exe. It claimed to install correctly. But nothing happened.

Nothing was added to my windows crediential manager. And here's the output of git config --list and where git

C:\Users\awise>git config --list core.symlinks=false core.autocrlf=true color.diff=auto color.status=auto color.branch=auto color.interactive=true help.format=html http.sslcainfo=C:/Users/awise/AppData/Local/Programs/Git/mingw64/ssl/certs/ca-bu ndle.crt diff.astextplain.textconv=astextplain rebase.autosquash=true user.name=Ashley Wise user.email=awise@bannerengineering.com

C:\Users\awise>where git C:\Users\awise\AppData\Local\Programs\Git\cmd\git.exe

C:\Users\awise>

whoisj commented 7 years ago

Well that doesn't seem right at all now does it.

Thanks for the report, hopefully get to the bottom of things asap.

evil-shrike commented 7 years ago

Same for me. I've installed GCMW-1.10.1.exe (Next, Next), nothing was asked (the doc says "When prompted to select your terminal emulator for Git Bash" - but nothing is prompted). Nothing was added into .gitconfig. And nothing works. (authentication failed). It's expected as installed didn't add [credential].

And it's for 2 months, gents. I can't understand why it's stated that this project is replacement for http://gitcredentialstore.codeplex.com/..

whoisj commented 7 years ago

I can't understand why it's stated that this project is replacement for http://gitcredentialstore.codeplex.com/..

Because the previous project is unsupported. The standalone installation process is a "nice to have" feature from a prioritization point of view. The primary installation method for the GCM is the Git for Windows installer.

evil-shrike commented 7 years ago

The thing is that I installed Git for Windows via chocolatey (as choco install git) and it didn't setup GCM for me. Standalone installer doesn't work either. So it's hard to understand how one should install GCM into git. With good old credstore it was a bit clearer - just run git-credential-winstore.exe.

For anyone who stumbled over the same issue - just add this into your global .gitconfig:

[credential]
    helper = manager
whoisj commented 7 years ago

@evil-shrike by any chance, is git.exe not on your %PATH%?

evil-shrike commented 7 years ago

@whoisj no, it's in PATH for sure.

whoisj commented 7 years ago

@evil-shrike thanks for the confirmation. Helps me narrow down exactly what's going wrong.

jsancho commented 7 years ago

had the same issue as @evil-shrike nothing was happening and this was when trying to access a VSTS repo. My git installation is the official git-for-windows. What sorted it out was adding the helper = manager to my .gitconfig 🎉