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

Floren Llanos florenllanos at gmail.com
Sun Oct 20 18:26:05 UTC 2013


Hello,

I'm a newbie contributor in Openstack, and I'm newbie using git and gerrit too.

I committed a change to gerrit of two files but one of them is not
correct and I must to undo the change (only one of this files). I need
to remove this file from gerrit and leave only one.

I found in http://git-scm.com/book/ that I can use git checkout --
<file> to undo the change in my local environment and I've read about
git reset too, but I've understand that if this use it's only for
stashing files. I don't know how undo the change in gerrit (remote).

Thanks in advance,

Floren



More information about the OpenStack-dev mailing list