5 ms·
Most commit messages are just "update" :( https://github.com/w-okada/voice-changer/commits/master https://github.com/w-okada/voice-changer/commits/master
by dolmen 3y ago
Most commit messages are just "update" :(
https://github.com/w-okada/voice-changer/commits/master https://github.com/w-okada/voice-changer/commits/master
- marginalia_nu 3y agoIMO, in small/solo development projects, you really don't need particularly descriptive git messages. I'll frequently commit 40 disparate changes under "stuff" in my personal projects. It's never been a problem. No real need to LARP a big software project with many developers.
- beezlewax 3y agoUntil you come back to it and forget what you were doing
- marginalia_nu 3y agoYou can always just read the code. I'm not really sure what git commit messages would contribute other than misinformation at that point.
- seanhunter 3y agoCode tells you what it does. The commit message tells you what you meant it to do. When fixing problems in complex systems this can be vital.
- marginalia_nu 3y agoTo be fair, function names also tells you what the code is intended to do. Git based workflows were not the missing technology that finally unlocked the development of complex systems. We wrote complex code before we had git annotate, even before version control systems were widely adopted.
- seanhunter 3y agoIt was considered good practise to write meaningful commit comments from the very first version control systems, long before git was invented. Source: I have had commits rejected on code review for insufficiently descriptive commit messages in RCS, SCCS, Visual SourceSafe and CVS and probably others before git was first invented.
- marginalia_nu 3y agoIn your solo projects (which is the context for this discussion), who is doing these code reviews? What is a sane practice varies immensely with the scale and scope of the project. Many things that are nearly mandatory for large scale development are pointless obstacles in small scale development.
- SkyPuncher 3y agoReviewing recent diffs has always been far more helpful for me.
- junon 3y agoHard disagree. "The smallest group of programmers is you, and yourself a week later."
- marginalia_nu 3y agoNot really been a problem I've run into. I've been working like this (with git) for a good decade, and longer than that with SVN and CVS. If anything, I think that's more symptomatic of poorly structured work and questionable planning.
- junon 3y agoHaving good commit messages is symptomatic of poorly structured work and poor planning? That's a weird take, to be honest.
- marginalia_nu 3y agoIf your productivity completely falls apart without good commit messages (or any particular tool, say git), that is symptomatic of poorly structured work and poor planning.
- junon 3y agoI don't think anyone has made the argument that commit messages are the sole aspect of good project management.
- TheHumanist 3y agoI mean git doubles as cloud for me to hop between machines and keep working on a project... So I literally just "." most of the time lol
- blitzar 3y agoI personally prefer to use '.' to avoid the no commit message warning
- TheHumanist 3y agoOh man. That's not just me? Haha nice.