Git commit message verbs

I've created a new Github repo, and I was wondering, is there any convention/standard for the verbs used in commit message subjects ?

I've found this repo which gives a convention about different verbs to use, but it doesn't seem to be that popular. What are your thoughts on it ? Is there any other convention/standard out there ?

Upvotes: 1

Views: 4433

Answers (2)

Philippe
Philippe

Reputation: 31117

There is no standard but some different conventions.

A good one could be the one used by the angular project used on different other projects : https://gist.github.com/stephenparish/9941e89d80e2bc58a153#format-of-the-commit-message

Some use emoji instead of the "type" but even if it looks fun, it have some inconvenient... Examples: https://gitmoji.carloscuesta.me/ and https://github.com/dannyfritz/commit-message-emoji

Upvotes: 1

Christos Batzilis
Christos Batzilis

Reputation: 372

The most important thing is to decide on some standards and use them consistenly accross your team, so that your history does not end up being unreadable.

If however you want to have a starting point you can have a look on several online resources, e.g. https://chris.beams.io/posts/git-commit/

Upvotes: 3

Related Questions