News for hackers. Stuff that matters.
Re:A Better Model for Stacked Pull Requests by mic47 on Saturday April 24, 2021 @04:56AM (#26923423)
But for wast majority of pull request branches, people are not checking them out. And if so, they are not modifying it, so dropping local branch and checking fresh one is 20s additional work.

Additionally, technically speaking --force does not overwrite history, it just moves the branch pointer. Old commits are there.

Re:A Better Model for Stacked Pull Requests by tome on Saturday April 24, 2021 @05:20AM (#26923530)
If they checkout `origin/branchname` rather than just `branchname` then `branchname` doesn't get created locally so they don't even have to drop the old one!