0

mingw64-git

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:"

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 5
    Presumably your editor has opened and is waiting for you to type a commit message. If you didn't want that, you could include the commit message in your original command, e.g. `git commit -m 'this is the message'`. – matt Jun 29 '21 at 01:05
  • 3
    Please don't post the problem as an image. Especially in this case it's easy enough to copy the text. – Jan Wilamowski Jun 29 '21 at 03:12
  • thank you @matt i didn't specify the command so git was stuck. – eqoobravodelt Jul 04 '21 at 03:04

1 Answers1

1

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""""
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250