Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hub 2.7.0 installed on WSL does not authenticate with git-credential-manager #2701

Closed
mloskot opened this issue Jan 27, 2021 · 2 comments
Closed
Labels

Comments

@mloskot
Copy link

mloskot commented Jan 27, 2021

Command attempted:

cd ~/boost/libs/gil
git switch develop
git pull origin develop
hub pr list

What happened:

$ hub pr list
github.com username:

I'm using git on Ubuntu on WSL and it is configured to use the git-credential-manager.exe

$ git config --get credential.helper
/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe

and all Git commands, including push, work fine.

Apparently, hub does not use the credentials cached by the Git credential manager.

More info:

I'm using Ubuntu 20.04 on WSL on Windows 10.
Git and Hub installed from the Ubuntu packages.

$ hub version
git version 2.30.0
hub version 2.7.0

I do realise this is an ancient version of hub, but apparently that is what Ubuntu users are supposed to install as per #2697

@mloskot
Copy link
Author

mloskot commented Jan 28, 2021

It's the ancient hub version issue, see #2697 (comment)

@mloskot mloskot closed this as completed Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
@mloskot and others