3 ms·
> With Github/lab's model, if you force push your PR, you lose the ability to view its previous state and diff against that. That's not quite true. Gitlab lets
by nemetroid 6y ago
> With Github/lab's model, if you force push your PR, you lose the ability to view its previous state and diff against that.
That's not quite true. Gitlab lets you compare any two "versions" of the force pushed branch.
- js2 6y agoThanks. I haven’t used gitlab. I assumed it worked the same as GitHub. That’s good to know.
- kevincox 6y agoYup, GitLab works as expected here. It's always surprised me how quickly the old commit is garbage-collrcted when you force-push a branch on GitHub. It causes weird errors in CI runs and breaks viewing the old commits. Seriously I'll pay for those couple of KiB of space, just keep it around. (at least until the PR is closed)