How to Write a Git Commit Message

112 bookmarks. First posted by loki february 2017.

Commit messages that can complete the sentence "If applied, this commit will.." is encouraged
git  coding 
7 weeks ago by scottnelle
A properly formed Git commit subject line should always be able to complete the following sentence:

If applied, this commit will your subject line here
7 weeks ago by tullyhansen
If you browse the log of any random Git repository, you will probably find its commit messages are more or less a mess. For example, take a look at from my early days committing to Spring: Which would you rather read? via Pocket
10 weeks ago by billchristian
The seven rules of a great Git commit message

Keep in mind: This has all been said before.

1. Separate subject from body with a blank line
2. Limit the subject line to 50 characters
3. Capitalize the subject line
4. Do not end the subject line with a period
5. Use the imperative mood in the subject line
6. Wrap the body at 72 characters
7. Use the body to explain what and why vs. how

git  commit  language 
11 weeks ago by coffeebucket
How to Write a Git Commit Message - Added September 13, 2015 at 11:55PM
may 2017 by xenocid
In this post, Chris Beams addresses the most basic element of keeping a healthy commit history: how to write an individual commit message.
development  git  documentation 
april 2017 by billglover
Fortunately, there are well-established conventions as to what makes an idiomatic Git commit message. Indeed, many of them are assumed in the way certain Git commands function. There’s nothing you need to re-invent. Just follow these seven rules and you’re on your way to committing like a pro.
git  commit  message  guideline  style  writing 
april 2017 by rbardini
How to Write a Git Commit Message
march 2017 by jpalat
How to Write a Git Commit Message via Instapaper
IFTTT  Instapaper 
march 2017 by chaoxian
2. Limit the subject line to 50 characters
git  tips 
march 2017 by amadamala