Re:Git Rebase for the Terrified
by yawaramin on Tuesday January 13, 2026 @11:08AM
(#46602883)
Merging a PR with rebase doesn't lose provenance. You can just keep all the commits in the PR branch. But even if you squash the branch into a single commit and merge (which these tools automate and many people do), it still doesn't lose provenance. The provenance is the PR itself. The PR is connected to a work item in the ticketing system. The git history preserves all the relevant info.
[ Parent
| on HN ]
Re:Git Rebase for the Terrified
by noisem4ker on Tuesday January 13, 2026 @01:40PM
(#46605636)
The provenance that is lost is the original base.
No, the original base is in the commit history. It's just not relevant any more after rebase. It's like your individual keystrokes before a commit are not relevant any more after a commit. They're not lost provenance.