When using Git on the command line, you may encounter a challenge with the default editor when writing commit messages.
While typically, you can use the -m flag to include the commit message directly in the command like git commit -m "My commit text", sometimes you may need to amend a commit or accidentally run git commit without specifying a commit message. In these instances, you might be