I am using ubuntu 20.04 on Windows 10 with WSL2.
Recently, I am finding it difficult to git push origin to my repo.
It always return this error
/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe get: 1: /mnt/c/Program Files/Git/mingw64/libexec/git-core/git-credential-manager.exe: not found
After, it asks for my github username and password, it still returns the above error with an addition 'Everything up-to-date'.
/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe store: 1: /mnt/c/Program Files/Git/mingw64/libexec/git-core/git-credential-manager.exe: not found Everything up-to-date
I have tried this solution below, but it is not working also.
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"
How do I fix this issue please?