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
-
kiki35291221dI have an alias for that
alias gc="git add . && git commit -m 'done' && git push"
I use it more than I care to mention -
@kiki boooooooo
I mean its fine if you're the only dev (personal / small project)
but i'm in this big team and the guy commits with commit message the name of the branch itself? i mean what does that tell me? i know the branch name... cringe -
kiki35291221d@fullstackcircus you don't need to know. It won't matter in code review because you always examine the end result, and when it's lgtm and the pr is merged, it doesn't matter either — the thing works, that's all you have to know.
You wanna know something about the code? Read comments. You don't get it? Ask, then improve the comments with your newfound knowledge.
Oh, you don't write comments? That's a way bigger problem than commit messages. -
kiki35291221dby the way, self-documenting code is not an alternative to comments. It documents WHAT happens, but comments are there to explain WHY it happens. My code is always very terse, but I make up for it with extensive commenting.
-
C0D468145221dYou know you're doing it wrong when @Kiki and I agree on something.
Commits are pointless, rebase and merge, no commits 🤷♂ï¸
Get good at PR's and Release notes, these matter more than a commit from 5 years ago. -
jassole1840221dBro do we even need proper commit messages? Ask LLM to describe the git diff, LMAO
-
Liebranca843221dI know of a guy who wins this contest. He was developing a game engine for years and years, and he made nearly every single commit message just fucking 'ok'. Absolute madman!
-
jiraTicket2302221d1. Enforce PR:s (no direct master commits)
2. Enforce all PR:s to be approved and squash-merged
Now you at least will not see any bullshit commits in master/main.
(Usually people will write a decent PR title even if their commit messages suck) -
lotd7922221dSplitting a unit of work up into a series of small but concise commits have been valuable for me.
I often need to cherry pick work between branches that’s corresponding to jira tickets a customer requested.
On my own & usually public projects, it’s often littered with “wip” that eventually leads to a commit message consisting of the feature name.
Related Rants
-
dfox60Hey everyone! As many of you have already seen, @trogus and I are happy to announce the release of devRant++, ...
-
linuxxx19Did a very tiny migration for a client which would normally be done against our hourly rate but decided to do ...
-
byIcee26This is not the kind of bug I was expecting...
people who write one word commit messages
🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
rant
collaboration
what
🤡
clownworld
thanks