[Insight-developers] Problem with git hooks

Bill Lorensen bill.lorensen at gmail.com
Sat Aug 21 11:06:19 EDT 2010


So it seems that the instructions given:
-----------------------------------
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.
-----------------------------------

are incorrect?

On Sat, Aug 21, 2010 at 11:01 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> works if I do this:
>
> git pull git://itk.org/ITK.git hooks
>
>
> On Sat, Aug 21, 2010 at 10:59 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
>> remote.origin.url=git://itk.org/ITK.git
>> remote.origin.pushurl=git at itk.org:ITK.git
>> branch.master.remote=origin
>> branch.master.merge=refs/heads/master
>> submodule.Testing/Data.url=git://itk.org/ITKData.git
>>
>>
>> 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
>>>
>>>
>>
>


More information about the Insight-developers mailing list