[vtk-developers] git branch with missing gerrit change-id
Marcus D. Hanwell
marcus.hanwell at kitware.com
Wed Jan 22 15:46:40 EST 2014
On Wed, Jan 22, 2014 at 3:43 PM, Sean McBride <sean at rogue-research.com> wrote:
> On Wed, 22 Jan 2014 13:24:57 -0700, David Gobbi said:
>
>>To amend a whole bunch of commits, use "rebase -i".
>>
>>rebase -i <branch point>
>>
>>Within the rebase, change "pick" to "edit" for each of
>>your commits.
>
> I've done that process before...
>
> But how does the change-id get added? Is it added automatically when I recommit? In other words, does the simple act of recommitting generate that thing for me? I don't need to create it somewhere else and paste it in to my commit message?
>
Yes, the developer set up scripts add the appropriate hooks to add a
Change-Id to your commit message. Editing or ammending a commit is
enough to add a Change-Id line.
Marcus
More information about the vtk-developers
mailing list