[openstack-dev] [GIT] Reset a commit in Gerrit

Floren Llanos florenllanos at gmail.com
Thu Oct 24 20:23:31 UTC 2013


Thanks all for the information!

Floren

2013/10/21 Thierry Carrez <thierry at openstack.org>:
> Dolph Mathews wrote:
>> On Sun, Oct 20, 2013 at 1:31 PM, Edgar Magana <emagana at plumgrid.com
>> <mailto:emagana at plumgrid.com>> wrote:
>>     Just just need to send a patch to gerrit.
>>
>>     From you local repo, do the necessary fixes and be sure everything
>>     is just
>>     as you want.
>>     Then simply run:
>>     #git commit -a --amend
>>     #git review
>>
>>
>> The only "gotcha" here is that you need to maintain the same Change-Id
>> that was appended to your original commit message (and push it to the
>> same branch in gerrit, if you specified one originally). Removing or
>> altering the Change-Id will prevent your patch from updating your
>> existing review. The rest of your commit message can be freely rewritten.
>
> Additionally here are a few links to our doc:
> https://wiki.openstack.org/wiki/GerritWorkflow
> https://wiki.openstack.org/wiki/GerritJenkinsGit
>
> Regards,
>
> --
> Thierry Carrez (ttx)
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list