[Insight-developers] git branch question

Bill Lorensen bill.lorensen at gmail.com
Mon Oct 31 16:20:23 EDT 2011


What I would do (and I am far from an expert) is cherry-pick your old topic
A into your new topic B. The cherry-pick will retain the change-id of your
A topic. When you push, the gerrit topics will coordinate (I think).


On Mon, Oct 31, 2011 at 4:16 PM, Nicholas Tustison <ntustison at gmail.com>wrote:

> Hi,
>
> I haven't had to do this before but I assume it's pretty easy.  I
> currently have a gerrit topic (A) pending and I'm preparing another
> topic (B) which depends on A.  My questions are:
>
> 1.  How do I properly pull branch A into B on my local machine to
> get things working due to dependencies?
> 2.  Once I'm ready to push B to gerrit, what are the magic incantations
> I need to ensure that the gerrit topics are coordinated properly?
>
> I would very much appreciate if somebody could point me to a wiki page
> or something.
>
> Thanks,
> Nick
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20111031/ce6e0844/attachment.htm>


More information about the Insight-developers mailing list