[Insight-developers] Problem with git hooks
Bill Lorensen
bill.lorensen at gmail.com
Mon Aug 23 11:48:06 EDT 2010
cd .git/hooks
git init
git pull .. remotes/origin/hooks
works OK in my current tree. I'll try a fresh clone.
On Mon, Aug 23, 2010 at 11:41 AM, Brad King <brad.king at kitware.com> wrote:
> On 08/23/2010 11:34 AM, Bill Lorensen wrote:
>> This worked for me:
>> git pull git://itk.org/ITK.git hooks
>
> Good, but the other instructions should have worked too. Strange.
>
> Can you reproduce the problem in a fresh clone?
>
>> On Mon, Aug 23, 2010 at 9:47 AM, Brad King <brad.king at kitware.com> wrote:
>>> cd "c:/lorensen/ProjectsGIT/ITK"
>>> git for-each-ref refs/remotes/origin
>>>
>> 264f84984e53eabaaf113568405270e80056bd15 commit refs/remotes/origin/HEAD
>> 48e72dd1cd9ebefae0006cba0fafd6a09928bc8c commit refs/remotes/origin/hooks
>> 264f84984e53eabaaf113568405270e80056bd15 commit refs/remotes/origin/master
>> 4474933adc92bee42447244cb785ac793122d43a commit refs/remotes/origin/release
>
> The line for "refs/remotes/origin/hooks" indicates that your main
> repository does know about the hooks branch. That means that
>
> cd .git/hooks
> git init
> git pull .. remotes/origin/hooks
>
> should have worked. If you can reproduce the failure, please try
>
> git pull .. refs/remotes/origin/hooks
>
> too.
>
> Thanks,
> -Brad
>
More information about the Insight-developers
mailing list