[coreboot] git/gerrit question

Christoph Grenz christophg+cb at grenz-bonn.de
Tue Oct 4 18:51:39 CEST 2011

Use git rebase -i HEAD~X (with X = the number of commits you want to change)
or git rebase -i master (all commits since last pull/push)

Then you can reorder commits, merge multiple commits into one (fixup, this 
might be what you want), and change every commit message (reword).

See also: http://www.coreboot.org/Git#Evolving_patches

Am Dienstag, 4. Oktober 2011, um 18:37:22 schrieb Oskar Enoksson:
> I'm trying to upload a patch. It seems that for some reason "gerrit"
> requires a "signed-off-by" line in every single local commit in order to
> push it to the remote location. I'm able to "amend" such a line to the
> very last commit, but I can't find a way to do it on the previous
> commits. How can I do it? I've googled the web, browsed the manuals,
> scimmed through the tutorials and found no clue. Do I have to start from
> scratch?

More information about the coreboot mailing list