Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@mtverlee for a git commit message? That's definitely wrong, I know I've written small essays for some commits, and one place I worked had a policy of rebase & squash before meeting to master. Those messages get biiiiiiiiig.
-
willol13898y@Zaphod65 git commit -m set a commit title, not a commit message :)
And the convention for a commit title is 80 characters I believe (not sure it's a global convention) -
yfede1548y@willol I'm pretty sure you're wrong here: -m specifies a whole commit message, and therefore it does not impose any limit on its length.
it's entirely up to you to format it according to your taste (which obviously may require you to insert newline chars where needed for your goal, if you intend to specify a title and a body, separated by a blank line as usually accepted as convention). -
@slaat I find the stash syntax is so convoluted... If you stash twice, you need two PhDs to retrieve the right stuff.
Related Rants
git add . && git commit -m "Because we're constantly interrupted and because we are not given enough time to do things properly, I need to check in and out of branches all the time (because separate envs are actually separate branches now) and have to interrupt what I'm doing. So this commit message reflects that."
undefined
commit
shit
git