[vtk-developers] Git tool for tracing merged branches?

David Gobbi david.gobbi at gmail.com
Fri Oct 8 09:45:19 EDT 2010


On Fri, Oct 8, 2010 at 7:24 AM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
>
> You can quite simply re-create a topic branch, as long as you know the final
> hash at the tip of the topic branch. I have done this to then fix some bug
> introduced in a topic branch, and merge it back in, or merge it into an
> alternate integration branch. You want to find the has before the merge (it
> will be one of the two parents listed),
> git checkout -b topic-branch-recreated abcdef12
> That will create, and checkout, a topic branch called
> 'topic-branch-recreated' that begins at commit abcdef12, if that was the tip
> of the topic branch it will be entirely identical to that topic branch (you
> are just creating a named pointer to a hash). You can easily find the has by
> inspecting history,
> git log --graph
> Hope that helps.

Thanks.  This will be very useful.

   David



More information about the vtk-developers mailing list