[vtk-developers] How to update someone else's topic (or create a new topic off of theirs)

Ken Martin ken.martin at kitware.com
Tue Mar 17 14:16:46 EDT 2015


So I was doing a review of someone's merge request and I realized it needs
some extra changes. Is there a way for me to download their topic (cherry
pick?), make some more changes and then resubmit it? I saw lots of options
to download a patch or diff for a topic but I do not want to lose their
node/hash/whatever it is called. Is there a right way to do this. I did
check the wiki but did not see a "revise someone else's topic".

Thanks
Ken


Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
ken.martin at kitware.com
518 881-4901 (w)
518 371-4573 (f)

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you
are not the intended recipient, any disclosure, copying, distribution or
any action taken in reliance on it is prohibited and may be unlawful. If
you received this communication in error please notify us immediately and
destroy the original message.  Thank you.


-----Original Message-----
From: vtk-developers [mailto:vtk-developers-bounces at vtk.org] On Behalf Of
Brad King
Sent: Tuesday, March 17, 2015 1:46 PM
To: Bill Lorensen
Cc: VTK Developers
Subject: Re: [vtk-developers] Keeping in fork in sync

On 03/17/2015 01:31 PM, Bill Lorensen wrote:
> How do I keep my fork in sync with the vtk repo?

Whenever you do 'git gitlab-push' to push one of your topics it will also
fetch 'master' from the main repo and push that to your fork along with
your topic.

In general you don't need to ever reference 'master' in your fork so it
doesn't matter whether it stays updated.  If you do want to update it
manually you can do

 $ git checkout master
 $ git pull
 $ git push gitlab master

-Brad

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtk-developers


More information about the vtk-developers mailing list