L
L
littleguga2016-03-11 18:06:52
git
littleguga, 2016-03-11 18:06:52

What is the correct way to comment on a commit?

Maybe there is some standard that I don't know about?
According to the rules of the English language, if I added some feature, then the action happened in the past - it must be put in the 2nd form (irregular verb or ed at the end).
Accordingly: "added header navigation". But many people write "add header navigation"
I understand that this is most likely not important, but I would like to hear your opinion (grammar Nazis, all things).
Examples:
Here, most of the commits are written correctly from the point of view of the English language.
But here they write add / remove / clean everywhere - that is, in the present tense, which is a little strange.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2016-03-11
@littleguga

More often I met the standard to write in the present
add, remove
But it's not about the grammar of the Nazis.
In CI, there are often automatic reports on the changes made, or for example, each build automatically extracts changes from all commits, automatic generation of release notes
The fact that you have committed changes does not mean that they have been applied to the application itself, it still needs to be updated. And then
"When installing this fix, the following will be performed"
add...
remove...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question