Skip to content

Instantly share code, notes, and snippets.

@andrewwoods
Last active September 18, 2015 21:21
Show Gist options
  • Save andrewwoods/534cbcc2c9f9069d4893 to your computer and use it in GitHub Desktop.
Save andrewwoods/534cbcc2c9f9069d4893 to your computer and use it in GitHub Desktop.
Custom Git Commit Message
Subject line
Describe what you did and why
[ticket: #X]
#------------------------------------------------@----------------------
#
# * Separate subject from body with a blank line
# * Limit the subject line to 50 characters
# * Capitalize the subject line
# * Do not end the subject line with a period
# * Write the subject line to sound like an authoritative command
# * Wrap the body at 72 characters
# * Use the body to explain what and why vs. how
#
#-----------------------------------------------------------------------
@ieatkillerbees
Copy link

Excellent advice 👍

@jeremykendall
Copy link

💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment