I have a branch where there are multiple commits as below
Commit 1 - Not signed
Commit 2 - Signed off X
Commit 3 - Not signed
Commit 4 - Not signed
Commit 5 - Signed off by Y
i would like to signoff the commits 1, 3, 4 . Those are the ones i created and missed to sign off
When i try to do using
git rebase HEAD~3 --signoff
Its signing the commit number 2 which was already signed off by X.
Is there any way we can specifically sign off specific commits.
If it's just a few commits, use an interactive rebase, set those commits to edit, and git commit --amend --signoff
on each of them.