Skip to content

Instantly share code, notes, and snippets.

@andxyz
Created December 7, 2016 22:36
Show Gist options
  • Select an option

  • Save andxyz/1828bf3b0947b1be2a93fd440b1ed149 to your computer and use it in GitHub Desktop.

Select an option

Save andxyz/1828bf3b0947b1be2a93fd440b1ed149 to your computer and use it in GitHub Desktop.

Revisions

  1. @josh josh revised this gist Aug 20, 2010. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.mkd
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Summary
    Description
    -----------

    * Wrap at 73 characters
    * Wrap at 72 characters

    * Why, explain intention and implementation approach

  2. @josh josh created this gist Aug 20, 2010.
    47 changes: 47 additions & 0 deletions gistfile1.mkd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    Writing Commit Messages
    =======================

    One line summary (< 50c)

    Longer description (wrap at 72c)

    Summary
    -------

    * Less than 50 characters

    * What was changed

    * Imperative present tense *(fix, add, change)*

    Fix calendar timezone bug
    Add tests for Account#create
    Change file upload limit

    * No period

    Description
    -----------

    * Wrap at 73 characters

    * Why, explain intention and implementation approach

    * Present tense

    Atomicity
    ---------

    * Break up logical changes

    * Use `git add -p`

    * Make whitespace changes separately

    See Also
    --------

    * [http://twitter.com/rtomayko/status/21628259289](http://twitter.com/rtomayko/status/21628259289)
    * [http://progit.org/book/ch5-2.html#commit_guidelines](http://progit.org/book/ch5-2.html#commit_guidelines)
    * [http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
    * [http://who-t.blogspot.com/2009/12/on-commit-messages.html](http://who-t.blogspot.com/2009/12/on-commit-messages.html)