3 ms·
That's actually what I expected this to be before clicking the link. Oh well, one can hope.
by yohanatan 12y ago
That's actually what I expected this to be before clicking the link. Oh well, one can hope.
- gianlucaguarini 12y agoSometimes in a git project there are self explanatory changes that may not require a commit message (ex 'Update README.md'). 'cmt' it's not a replacement for the normal git commit workflow it's just an extra tool that should not be abused but it may result useful when your push doesn't need any special explanation. Here you can see some examples of git commit messages on real world applications that might have been replaced by a 'cmt' commit: - backbone https://github.com/jashkenas/backbone/commit/49123e9ab1d2ef5b20ce57d2829c37659e7ed8b7 https://github.com/jashkenas/backbone/commit/49123e9ab1d2ef5... ('Don't be clever') - angularjs https://github.com/angular/angular.js/commit/5533e48dead5cff3107e72ee80bf0f19df77c1e9 https://github.com/angular/angular.js/commit/5533e48dead5cff... ('work in progress') - emberjs https://github.com/emberjs/ember.js/commit/0f50e9564c04bc641e90330fbfed3c6efe5fef9a https://github.com/emberjs/ember.js/commit/0f50e9564c04bc641... ('more goodness') - django https://github.com/django/django/commit/3e2edad9c7c6b980bbc182e9b7569138d1c70a3b https://github.com/django/django/commit/3e2edad9c7c6b980bbc1... ('Missed one') - gcc https://github.com/mirrors/gcc/commit/adfbb67780c49a809d26bd3ed211427700e018ac https://github.com/mirrors/gcc/commit/adfbb67780c49a809d26bd... ('Adjust') Thanks anyway for your precious feedback
- yohanatan 12y agoI actually still disagree that those [cute comments] should be replaced by [machine-generated] cute quotes. If one has trouble expressing what is really going on, then she should think harder and/or consult a dictionary/thesaurus/etc until she can compose a message that is truly descriptive. I could do so for the messages above but it's a rather pointless exercise at this point. [Also, one should use 'git rebase -i' for squashing fixups]. Whatever the case, the point still remains that a semantically-aware comment generator would be far better than both of these options.
- gianlucaguarini 12y agoMaybe I can enhance the script. What do you mean with "semantically aware" comments? Could you provide an example? Thanks