Was digging through a project at work today where some guy in 2014 made 100+ commits in a single day and the only one that had a comment said “upgrading to v4.0”.

You are viewing a single thread.
View all comments
25 points

You get two options.

Normally it’s a squashed commit of everything in a feature, with a commit message like:

[JIRA-1234] - Descriptive but Concise Name of Feature

But every now and then it’s multiple commits like:

quick fix
Ugh, fix typo
fuck fuck why doesn’t it work
Oh, I’m stupid
permalink
report
reply
12 points

Followed by

fixed formatting

final formatting fix

you gotta be kidding me, fuck you, detekt!

permalink
report
parent
reply
6 points

Bro, squash merge

permalink
report
parent
reply
3 points

Sure, but before squashing you gotta commit

permalink
report
parent
reply
3 points

Or if you’re using feature branches, rebase, squash, and force push before opening the MR

permalink
report
parent
reply

Programming

!programming@beehaw.org

Create post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

Community stats

  • 67

    Monthly active users

  • 235

    Posts

  • 1.5K

    Comments