Re:Extremely Linear Git History
by palata on Tuesday November 22, 2022 @07:17PM
(#33713397)
What about commit signatures? If you rebase, you lose the original signature, don't you?
[ Parent
| on HN ]
Re:Extremely Linear Git History
by GauntletWizard on Wednesday November 23, 2022 @12:29AM
(#33715590)
If you let Github do the rebase, yes, you do. But you can do so manually yourself, taking the commit down to a single squashed commit, that you then sign.
This is a tooling issue that needs to be solved client-side (i.e. where the signing key lives). It's an important one but actually really simple.
This is completely insane under any proposed use case for commit signatures besides "tick some bureaucrat's box that asks 'was the commit signed?'".