[Insight-developers] Problem with git hooks

David Cole david.cole at kitware.com
Sat Aug 21 10:58:47 EDT 2010


If it's from a non-official-Kitware remote, you can use the direct pull
technique mentioned here:

http://www.itk.org/Wiki/Git/Hooks#Direct_Pull


On Sat, Aug 21, 2010 at 10:57 AM, David Cole <david.cole at kitware.com> wrote:

> What does "git config -l" say about "remote.origin.*" ?
>
> Where did you clone this repository from...?
>
>
> On Sat, Aug 21, 2010 at 10:34 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
>
>> Folks,
>>
>> I tried to commit to my local repo. I get the message:
>> Please initialize your local Git hooks.
>> Paste the following commands into a shell:
>>
>>  cd "c:/lorensen/ProjectsGIT/ITK/.git/hooks"
>>  git init
>>  git pull .. remotes/origin/hooks
>>  cd ../..
>>
>> See http://www.itk.org/Wiki/Git/Hooks for more details.
>>
>> Following the instructions I get this when I try
>> git pull .. remotes/origin/hooks
>> fatal: Couldn't find remote ref remotes/origin/hooks
>> fatal: The remote end hung up unexpectedly
>>
>>
>> Bill
>> _______________________________________________
>> 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/20100821/ea39e662/attachment.htm>


More information about the Insight-developers mailing list