@JPDev@programming.dev to Programmer Humor@programming.dev • 1 year agoRebase Supremacyprogramming.devimagemessage-square238fedilinkarrow-up11.14Karrow-down122
arrow-up11.12Karrow-down1imageRebase Supremacyprogramming.dev@JPDev@programming.dev to Programmer Humor@programming.dev • 1 year agomessage-square238fedilink
minus-squareMuad'Dibberlinkfedilink4•1 year agoIf you try to pull someone else’s rebased / history rewritten branch, your git will tell you that it’s rejected. You can completely avoid this by merging instead of rewriting history.
minus-squareAtemulinkfedilink1•1 year ago…or you simply rebase the subset of commits of your branch onto the rewritten branch. That’s like 10 simple button presses in magit.
If you try to pull someone else’s rebased / history rewritten branch, your git will tell you that it’s rejected. You can completely avoid this by merging instead of rewriting history.
…or you simply rebase the subset of commits of your branch onto the rewritten branch. That’s like 10 simple button presses in magit.