[Insight-developers] Some git questions (itk.org vs github)

Daniel Blezek Blezek.Daniel at mayo.edu
Wed Aug 25 10:43:57 EDT 2010


Hi Mathieu,

  What I have read about and started doing is pushing a branch to my GitHub
clone, something like ³djb/UnitTesting².  This identifies you as the author.
Other people can grab your branch and look it it.  A maintainer can then
merge your branch into the main-line and push to Kitware¹s master repo.
This also works to push to Gerrit, though the branch name should be more
like:

git push gerrit <local_branch>:<remote_branch>

i.e.

git push gerrit djb/UnitTesting:refs/for/master/djb/UnitTesting

More details here: http://www.itk.org/Wiki/ITK/Gerrit

-dan


On 8/25/10 9:36 AM, "David Cole" <david.cole at kitware.com> wrote:

> You should use the new Gerrit installation as discussed on yesterday's T-con
> to have people review it...
> 
> :-)
> 
> 
> On Wed, Aug 25, 2010 at 10:04 AM, Mathieu Malaterre
> <mathieu.malaterre at gmail.com> wrote:
>> Hi,
>> 
>>   I am still struggling to understand git.
>> 
>>   Let's say that I have clone the itk.org/ITK.git <http://itk.org/ITK.git>
>> repository. I have
>> patched it to add GDCM 2.x. However I would like to push those changes
>> not to itk.org <http://itk.org>  as explained on (*) but instead to my github
>> fork of
>> ITK: http://github.com/malaterre/ITK
>>   The reasoning is that the changes are quites large and I'd like to
>> publish the change out to my coworkers for review.
>> 
>>   Questions:
>> - Does this seems reasonable ? Or should I prefer using a branch and
>> push directly to itk.org <http://itk.org>  ?
>> - How would one do it ?
>> 
>> Thanks a bunch !
>> --
>> Mathieu
>> 
>> (*) http://www.itk.org/Wiki/ITK/Git#Pushing
>> _______________________________________________
>> Powered by www.kitware.com <http://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
> 
> 
> 
> _______________________________________________
> 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

-- 
Daniel Blezek, PhD
Medical Imaging Informatics Innovation Center

P 127 or (77) 8 8886
T 507 538 8886
E blezek.daniel at mayo.edu

Mayo Clinic
200 First St. S.W.
Harwick SL-44
Rochester, MN 55905
mayoclinic.org
"It is more complicated than you think." -- RFC 1925

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100825/ecf123af/attachment.htm>


More information about the Insight-developers mailing list