<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 11:15 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/09/2014 03:39 PM, Eran Ifrah wrote:<br>
> How do I revert a topic? I can't seem to find it on the wiki<br>
<br>
</div>There are a few approaches depending on the complexity<br>
of the topic.  It is a bit tricky, especially if there<br>
are merges in the topic.  Explaining all the possibilities<br>
would take too much space for the basic workflow instructions<br></blockquote><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I agree. I read the wiki about the 2 approaches of merging topics and I have to say I "git" lost in there ...</div>

<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">My git knowledge is limited and I don't feel comfortable enough to try all the things described there - this is why I decided to ask from </div>

<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">one of you to revert the topic from "next" so the build will not be red ;)</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">

<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
on the Wiki.  Again, it has been pretty rare that this is<br>
needed.  It was just bad luck that it happened on your first<br>
topic ;)<br>
<br>
I reverted the topic from 'next' for you so that you can<br>
merge the rebased topic.  Since it is coming back in as a<br>
brand new topic you can safely squash the fixup changes<br>
back into the original commit before merging to 'next'.<br>
<br></blockquote><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Does this mean that I can start from scratch now? (i.e. new topic, with new name ;) )</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FYI, one approach to revert a simple linear topic from<br>
'next' is to extend the topic with 'git revert' commits<br>
in reverse order.  Merging that to 'next' will undo the<br>
effects of the topic.  Note that 'next' is only for testing<br>
so topics merged to it can contain mis-steps and fixes.<br>
We always clean up topic history if necessary before<br>
merging to 'master'.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">See above about my git knowledge</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">

<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I am more of an SVN guy... I am using git, but I am still thinking the "Subversion" way</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
-Brad<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Eran Ifrah<br>Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br>

<div>wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></div></div>
</div></div>