49
submitted 1 year ago by [email protected] to c/[email protected]

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 comment's thread
view the rest of the comments
[-] [email protected] 25 points 1 year ago

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
[-] [email protected] 12 points 1 year ago

Followed by

fixed formatting

final formatting fix

you gotta be kidding me, fuck you, detekt!

[-] [email protected] 6 points 1 year ago
[-] [email protected] 3 points 1 year ago

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 27 Jul 2023
49 points (100.0% liked)

Programming

13346 readers
1 users here now

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.

founded 1 year ago
MODERATORS