commit-message.md

July 15, 2021 · View on GitHub

Bookmarks tagged [commit-message]

www.codever.land/bookmarks/t/commit-message

How do I make Git use the editor of my choice for commits?

https://stackoverflow.com/questions/2596805/how-do-i-make-git-use-the-editor-of-my-choice-for-commit...

If you want to set the editor only for Git, do either (you don’t need both):

Set core.editor in your Git config: git config --global core.editor "vim" Set the GIT_EDITOR environment variable: `ex...