Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • In summary, it is better to just write git commit. If vi/Vim seem too "scary", EDITOR can be set to something the user is more familiar with, for example by including export EDITOR=nano in a shell startup file (but learning vi/Vim is better as they are more powerful). Commented Sep 13, 2023 at 17:16
  • 1
    @Vilinkameni There's no reason to use vi to write commit messages unless that's already your favorite editor. Just use whatever editor you use to write code. Commented Sep 13, 2023 at 17:22
  • I mentioned vi because it is (usually) the default. Commented Sep 13, 2023 at 17:23
  • @Gilles'SO-stopbeingevil' This worked, thanks! I appreciate the tip, but can't say I agree about one-line commit messages. Commented Sep 13, 2023 at 23:21