I noticed that the number of my commits greatly exceeds the number of commits of other people in similar projects (one not the most difficult project in the world took more than 300). This, of course, is not my main problem in life, but I got the impression that I was doing something wrong, and this could make it difficult to dig into the history of the project.
I make a commit every time a new feature is added to the project, and after that it comes to a working state, and it doesn't matter what size the feature is a simple grammar correction, bugfix, implementation of some new functionality (the latter can be broken down into several commits , but after each of them the project should be workable), and if I corrected css, I replaced the disgustingly curved text with a simple curve and reassembled the action in the controller - this is, in my philosophy, there should be three commits, because they affect different e unrelated parts of the project. As a result, on the one hand, I can get almost any cast of the project and it will work at any time, on the other - I get a bunch of commits like 'Typo fix', 'CSS fix', 'Microfix', which, probably, could not exist.
In short, how to do?
ps One of the probable reasons for the situation is that I almost never use branching. I myself am a fool.
upd. More precisely, to formulate the question - should the introduced features be atomic (one commit - one feature or bugfix), or you can give a damn?