[gmx-developers] reverting a patch set on gerrit

Teemu Murtola teemu.murtola at gmail.com
Thu Dec 11 11:57:54 CET 2014


You should do git commit --amend to update the time stamp in the commit (to
make it different from the old patch set), that should make it possible to
push the change.
On Dec 11, 2014 12:44 PM, "Berk Hess" <hess at kth.se> wrote:

> Hi,
>
> How do I revert a change to the previous patch set on gerrit?
> What I tried, and what googling gives, is fetching the second-last patch
> set and push that back up again. But then git says:
>
> To ssh://hess@gerrit.gromacs.org:29418/gromacs.git
>  ! [remote rejected] HEAD -> refs/for/master (no new changes)
> error: failed to push some refs to 'ssh://hess@gerrit.gromacs.
> org:29418/gromacs.git'
>
> (note that I double-checked that I fetched the second-last and not the
> last patch set)
>
> Cheers,
>
> Berk
> --
> Gromacs Developers mailing list
>
> * Please search the archive at http://www.gromacs.org/
> Support/Mailing_Lists/GMX-developers_List before posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers
> or send a mail to gmx-developers-request at gromacs.org.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20141211/3fa0286c/attachment.html>


More information about the gromacs.org_gmx-developers mailing list