PROJET AUTOBLOG


Shaarli - Les discussions de Shaarli

Archivé

Site original : Shaarli - Les discussions de Shaarli du 23/07/2013

⇐ retour index

How to Write a Git Commit Message

jeudi 10 septembre 2015 à 09:53
Marquetapages Shazen
> The seven rules of a great git commit message

* 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
* Use the imperative mood in the subject line
* Wrap the body at 72 characters
* Use the body to explain what and why vs. how

> 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
> ex : If applied, this commit will Fix bug with Y

-- chris.beams.io
(Permalink)