Closed xiaozhuai closed 2 years ago
One possible reason for this could be that Git is asking for a password or SSH key. Does git push
on the command line require any user input?
One possible reason for this could be that Git is asking for a password or SSH key. Does
git push
on the command line require any user input?
No, I've set this git config --global credential.helper store
. And the password is stored.
Ok. Is there any kind of log or list of commands that CLion is executing? Otherwise you could enable logging by setting the Windows environment variable WSLGIT_ENABLE_LOGGING=1
. The log file should then be stored in the same directory as wslgit.exe
.
Also, git push
is one of the commands that runs in an interactive Bash shell by default (bash -i
, which can have different behaviour from non-interactive shells). Does your shell maybe print out any additional text in interactive mode?
Ok. Is there any kind of log or list of commands that CLion is executing? Otherwise you could enable logging by setting the Windows environment variable
WSLGIT_ENABLE_LOGGING=1
. The log file should then be stored in the same directory aswslgit.exe
.Also,
git push
is one of the commands that runs in an interactive Bash shell by default (bash -i
, which can have different behaviour from non-interactive shells). Does your shell maybe print out any additional text in interactive mode?
Thanks! I will try to enable logging to see what happened.
@andy-5 Problem solved! Need switch on Use credential helper
. Thanks!
Great! Thanks for sharing your solution.