this post was submitted on 28 Aug 2024
4 points (100.0% liked)

Programmer Humor

32000 readers
1744 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 3 weeks ago

I know this is a joke, but those errors/warnings/messages screenshot is not from git. That looks more like results from a compiler of some sort.

[–] [email protected] 1 points 3 weeks ago (1 children)

Sometimes I look at the memes around here and wonder wtf y'all are doing. Like, neither my code nor the code at the place I work at are perfect. But I don't think I've ever seen a merge do this. Maybe some of the most diverged merges temporarily had a lot of errors because of some refactoring, but then it was just a few find + replaces away from being fixed again. But those were merges where multiple teams had been working on both the original and the fork for years and even then it was usually pretty okay.

[–] [email protected] 1 points 2 weeks ago

It's really easy to make a gigantic mess using git if you don't know what you're doing. As soon as you learn to keep your history mostly linear all those issues go away.

[–] [email protected] 0 points 3 weeks ago (1 children)

You need to merge more often.

Rebase. That's where the real trauma is.

[–] [email protected] 0 points 3 weeks ago

Neither rebasing nor merging should cause trauma if everyone on the team takes a day or two to understand git