Git editing package for Atom
CoffeeScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
grammars Increase maximum subject length to 72 Mar 21, 2017
settings Set Git Commit preferred line length to 72 Nov 22, 2016
snippets Add snippets to the package Dec 28, 2015
spec Increase maximum subject length to 72 Mar 21, 2017
.coffeelintignore Add coffeelint support Jun 3, 2015
.gitignore Add coffeelint support Jun 3, 2015
.travis.yml Add initial spec and Travis config Dec 3, 2015
CONTRIBUTING.md Update contributing file May 22, 2014
ISSUE_TEMPLATE.md Update issue and PR templates Dec 22, 2016
LICENSE.md Release under our own license, with original license concatenated Feb 19, 2014
PULL_REQUEST_TEMPLATE.md 📝 Update issue and PR templates Dec 26, 2016
README.md Merge pull request #33 from walles/walles/diff-highlight Dec 11, 2016
appveyor.yml
coffeelint.json Add coffeelint support Jun 3, 2015
package.json Prepare 0.19.1 release Apr 18, 2017

README.md

Git editing support in Atom

macOS Build Status Windows Build Status Dependency Status

Adds syntax highlighting to Git commit, merge, and rebase messages edited in Atom.

You can configure Atom to be your Git editor with the following command:

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

Commit message highlighting

This package uses warning and error highlighting to help bring attention to some violations of standard conventions around commit message best practices:

  1. If the subject line goes beyond 50 characters and again if it goes beyond 72 characters
  2. If the subject line begins with a lower-case letter (emoji at the beginning of the subject line won't be highlighted)
  3. If the subject line ends with a period
  4. If any non-comment body line goes beyond 72 characters

Diff highlighting

If language-diff is installed, the diff part of git commit --verbose messages is highlighted as well.

Background

Originally converted from the Git TextMate bundle.

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.