Cocoa editor for creating commit messages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


A Cocoa text editor designed for creating commit messages.

Image of Komet

Download Komet


A commit editor shouldn't be stuck in an obstructive save-and-close model. Applying and discarding a commit should be convenient, and you shouldn't think twice about it. The editor should also automate actions that make writing good messages possible.

After transitioning to Komet, I put less effort in creating higher quality messages and my margin of error has decreased.


  • Single action for applying or discarding a commit (⌘ ↩ > <esc>:wq)
  • Double newline insertion after the first line.
  • Cocoa's spell checking and automatic correction.
  • Text highlight warning if line becomes too long for subject and/or body.
  • Specialized text selection and font handling for message and comment sections.
  • Intelligent discarding of commits (i.e, exit(1) only if commit file has pre-existing content).
  • Ideal caret position on launch after the initial content.
  • Support for committing using the Touch Bar.
  • Resume off from canceled commit messages.


Image of Komet


System Version: macOS 10.10 or later

Version Control: git, hg, svn

For optimal behavior, Komet depends on being able to distinguish the commit message content and the comment section at the end of the file. Thus, Komet has a small bit of code for handling each of its supported version control systems.


If you enjoy using Komet and feel like something could improve, feel free to make a contribution. It is advisable to create an issue first before submitting a big change. Please also read and follow the code of conduct in the repository first before contributing.

Komet can now be translated to other languages. If you want to translate Komet, duplicate and rename en to the desired language locale code. Then using a text editor intended for coding (not TextEdit), alter the string values in the .strings files. Keep a separate copy of the new language folder outside of the app in case Komet may get auto-updated (or preferably work with the Xcode project instead). Finally, test the translation by changing your system language in System Preferences.