<p dir="ltr">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.</p>
<div class="gmail_quote">On Dec 11, 2014 12:44 PM, &quot;Berk Hess&quot; &lt;<a href="mailto:hess@kth.se">hess@kth.se</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
How do I revert a change to the previous patch set on gerrit?<br>
What I tried, and what googling gives, is fetching the second-last patch set and push that back up again. But then git says:<br>
<br>
To ssh://<a href="http://hess@gerrit.gromacs.org:29418/gromacs.git" target="_blank">hess@gerrit.gromacs.org:<u></u>29418/gromacs.git</a><br>
 ! [remote rejected] HEAD -&gt; refs/for/master (no new changes)<br>
error: failed to push some refs to &#39;ssh://<a href="http://hess@gerrit.gromacs.org:29418/gromacs.git" target="_blank">hess@gerrit.gromacs.<u></u>org:29418/gromacs.git</a>&#39;<br>
<br>
(note that I double-checked that I fetched the second-last and not the last patch set)<br>
<br>
Cheers,<br>
<br>
Berk<br>
-- <br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists/GMX-<u></u>developers_List</a> before posting!<br>
<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" target="_blank">https://maillist.sys.kth.se/<u></u>mailman/listinfo/gromacs.org_<u></u>gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@<u></u>gromacs.org</a>.<br>
</blockquote></div>