How to add a commit ID to a series of cherry picks?
问题 I'm trying to contribute to the LineageOS gerrit. So essentially I cherry picked a range of commits from an upstream kernel branch... Only now, none of the cherry picked commits have a Change-ID. I know I can manually add one with a commit hook and: git commit --amend However, there are 834 or so commits... I'm also aware that I could run an interactive rebase to slightly ease my pain via: git rebase -i $FIRST_CP # Change every commit from pick to edit git commit --amend git rebase --continue