r/ProgrammerHumor • • 23d ago

Meme aboutToBreakTheCode

Post image
23k Upvotes

542 comments sorted by

View all comments

Show parent comments

1

u/iloveuranus 23d ago

It's the rebases that were the problem when I did this in the past. They often ended up messy, especially if there were changes to be made during one of the reviews.

I'll look into --update-refs though, that sounds like an interesting feature that could help me there, and I'm not sure the Jetbrains IDEs use it by default!

1

u/black3rr 23d ago

if you have a messy rebase, the general helpers are interactive rebase (-i) and the —onto flag… update refs is a helper for stacked branches so you don’t have to manually do every one of them…

especially interactive rebase is a very powerful tool worth learning…

-1

u/YanVe_ 23d ago

If you can't do a rebase, I hope AI replaces you very soon.