this post was submitted on 27 Jun 2024
423 points (95.5% liked)

Programmer Humor

19291 readers
1403 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] RustyNova@lemmy.world 38 points 3 months ago (8 children)

NGL I 'm a bit like that. I often do "work" commits so that my working tree is a bit more clean/I can go from working state to working state easily.

But before a PR, I always squash it, and most times it's just a single commit

[โ€“] SparrowRanjitScaur@lemmy.world 2 points 3 months ago* (last edited 3 months ago)

Gitlab has a checkbox for squashing merge requests into a single commit. Not sure if GitHub has that too.

load more comments (7 replies)