this post was submitted on 27 Jun 2024
414 points (95.4% liked)

Programmer Humor

18971 readers
874 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 1 month 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 1 month ago* (last edited 1 month 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)