Error message showing when I use git push
:
"C:\ProgramData\Miniconda3\Scripts\gh.exe auth git-credential get:
C:ProgramDataMiniconda3Scriptsgh.exe: command not found"
The git push
task is completed successfully, but this error message is showing annoyingly.
I already cached my PAT with GitHub CLI successfully.
My only problem is that above error message.
Help me to figure it out.
Check the output of git config credential.helper
(or git config --global credential.helper
)
If it includes a path with \
in it, do a git config (--global) --edit
, and escape backslashes: each \
becomes a \\
.