2 ms·
What if main/master moves in between reviews?
by eptcyka 6mo ago
What if main/master moves in between reviews?
- tcoff91 6mo agoRebase the stack onto main.
- jrochkind1 6mo agoBefore this feature when you were doing it manually, it was a huge problem. One of the points of this feature, is it automates rebasing the whole stack.
- mh2266 6mo agoyou just rebase it? what's the big deal? I don't use Github but I do work at one of the companies that popularized this workflows and it is extremely not a big deal. Pull, rebase, resolve conflicts if necessary, resubmit.
- adregan 6mo agoYou head to the farthest branch in the chain, fetch the latest main, and run `git rebase --update-refs main` (I prefer interactive mode myself) and then force push all of the branches from start to the end. 1: https://git-scm.com/docs/git-rebase#Documentation/git-rebase.txt---update-refs https://git-scm.com/docs/git-rebase#Documentation/git-rebase...
- eptcyka 6mo agoI know what one does manually, but how does stack make decisions here when there’s a conflict? The reason we use a rebase flow is to allow for adjusting commits that are no longer valid.