You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way this works is that one adds this to ~/.gitconfig:
[credential]helper = manager
Git will then communicate with git-credential-$HELPER via pipe. In my $PATH in WSL I have a link to git-credential-manager.exe so that /usr/bin/git can execute it. When it does run it (say, when I do git push) it jugs hangs there.
As a workaround I've replaced the ~/bin/git-credential-manager -> /mnt/c/.../git-credential-manager.exe symlink with the following shell script:
In order to use git both in WSL and in Windows with the same auth credentials, I tried to install https://github.com/Microsoft/Git-Credential-Manager-for-Windows and then point both gits to it.
The way this works is that one adds this to
~/.gitconfig
:Git will then communicate with
git-credential-$HELPER
via pipe. In my$PATH
in WSL I have a link togit-credential-manager.exe
so that/usr/bin/git
can execute it. When it does run it (say, when I dogit push
) it jugs hangs there.As a workaround I've replaced the
~/bin/git-credential-manager -> /mnt/c/.../git-credential-manager.exe
symlink with the following shell script:This seems to work just fine (at the expense of temporarily keeping the credentials on disk).
I am at a loss as to why the pipe doesn't cross the interop. Help?
Due to the nature of the strace output, I'll send it over to the secure@ address.
The text was updated successfully, but these errors were encountered: