Reputation: 21
Text:
MINGW64/c/hen/USER/desktop/boden34-repo-Inst
USER DESKTOP-PKARPV3 NINGUS4 (master)
$ cd desktop/troders34-repo-test
USER DESKTOP-PKARPV3 NING-/desktop/troders34-repo-test (master)
index.html
USER DESKTOP-PKARPV3 MINGW54 /desktop/troders34-repo-test (master)
$ git commit
What should I do next?
In this case, I typed "git commit
" in my Git bash session, then nothing happened.
Just entered to next blank line. I couldn't type anything and show nothing.
When I wanted to close the git bash, it appeared a warning "Processes are running in session:"
Upvotes: 0
Views: 580
Reputation: 1323263
Type first to check the value of core.editor
:
git config core.editor
See which editor is set, and change it to one which will respond.
For instance, as I mentioned here, from a CMD session:
git config --global core.editor """"C:\Users\vonc\AppData\Local\Programs\Microsoft VS Code\Code.exe""" --wait -n"
# or
git config --global core.editor """"C:/Program Files/Notepad++/notepad++.exe""""
Upvotes: 1