Skip to main content.

Git Lab FAQ

Git Lab

Git Commit Message Editor

If you're seeing something like command not found, then we need to get the editor set up to run from the command line. Issues with the commit message editor are frustrating, but they end up being fairly easy fixes in the end.

Pulsar
See the Pulsar documentation.

git config --global core.editor "pulsar --wait"

VS Code
See VS Code as Git Editor and set up to be able to call the application from the command line.

Error When Trying to Commit

If you aborted a commit operation--often because the editor wasn't what you expected, you may get an error that says something like, "Found a swap file by the name ".COMMIT_EDITMSG.swp". The message says what to do -- first, make sure that another program isn't editing the file (like, you have a window somewhere where you started to edit the file). If another window is open, complete the commit there. Otherwise, you can try to recover and edit the file. If all else fails, carefully delete the swap file. (Note that the name of the file name starts with a .