this post was submitted on 27 Feb 2026
209 points (98.6% liked)

Programmer Humor

30063 readers
1765 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] exu@feditown.com 6 points 15 hours ago (1 children)

Make your changes in a new branch and rebase/squash when you push it to main.

[โ€“] IronKrill@lemmy.ca 3 points 12 hours ago

This also means modifying your git pull command to pull the correct branch. A small change perhaps, but may be harder than just committing to main lol.

I had a similar problem with GitHub actions, it was hard to test without messing up the main repo history.