K
K
kirillleogky2019-09-19 18:48:58
git
kirillleogky, 2019-09-19 18:48:58

What commit text to write when creating a file?

Here are the requirements for my commits
The first thing I do after creating a repository is to create an index.html file.
I don't know what message would be better to write:
1.init: create index.html
2.feat: create index.html
3.refactor: create index.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tsarevfs, 2019-09-19
@kirillleogky

init is fine for this. All this makes much more sense with non-trivial changes. If your commit affects a large enough piece of code, it makes sense to separate new features and refactorings. This will save time for the person doing the review.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question