* error: hook declined to update refs/heads/master
@ 2008-07-21 9:34 Jonathan Biolaz
2008-07-21 9:54 ` Johannes Schindelin
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Biolaz @ 2008-07-21 9:34 UTC (permalink / raw)
To: git
Hye,
I'm trying to make a remote repository on a Mac Osx Server leopard.
I tried many methods to create the remote. First one, I clone my local
repository with the --bare options, then copy this repo on the server
and add the remote to my local repository, Second one, I create an
empty bare repository on the server and then I try to push my local
repository on it.
Everything I'm doing is given my the same error when I try to push to
the server :
$ git push origin master
Counting objects: 1709, done.
Compressing objects: 100% (1523/1523), done.
Writing objects: 100% (1709/1709), 1.95 MiB | 3818 KiB/s, done.
Total 1709 (delta 535), reused 0 (delta 0)
*** Project description file hasn't been set
error: hooks/update exited with error code 1
error: hook declined to update refs/heads/master
To jbiolaz@macpro1.sikalab:/mp1_data/sikatizen/Dev/repo/calame.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'jbiolaz@macpro1.sikalab:/mp1_data/
sikatizen/Dev/repo/calame.git'
I made the same on a linux server ad it's working well (but with
another repository)
I don't know what to do to make this working.
Also, my server Leopard server is driving me crazy, I have to had for
every user a .bashrc which one contain the path to git. I don't find a
way to add this for all user !
I hope someone can help me !!
Thanks !!
Jbiolaz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: error: hook declined to update refs/heads/master
2008-07-21 9:34 error: hook declined to update refs/heads/master Jonathan Biolaz
@ 2008-07-21 9:54 ` Johannes Schindelin
2008-07-21 11:33 ` Jonathan Biolaz
0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2008-07-21 9:54 UTC (permalink / raw)
To: Jonathan Biolaz; +Cc: git
Hi,
On Mon, 21 Jul 2008, Jonathan Biolaz wrote:
> $ git push origin master
>
> Counting objects: 1709, done.
> Compressing objects: 100% (1523/1523), done.
> Writing objects: 100% (1709/1709), 1.95 MiB | 3818 KiB/s, done.
> Total 1709 (delta 535), reused 0 (delta 0)
> *** Project description file hasn't been set
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> error: hooks/update exited with error code 1
> error: hook declined to update refs/heads/master
Apparently, you have a hook installed on the remote side which checks for
a valid description, and refuses even updating refs before you set the
description correctly.
Hth,
Dscho
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: error: hook declined to update refs/heads/master
2008-07-21 9:54 ` Johannes Schindelin
@ 2008-07-21 11:33 ` Jonathan Biolaz
2008-07-21 13:24 ` Dmitry Potapov
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Biolaz @ 2008-07-21 11:33 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
> Hi,
>
> On Mon, 21 Jul 2008, Jonathan Biolaz wrote:
>
>> $ git push origin master
>>
>> Counting objects: 1709, done.
>> Compressing objects: 100% (1523/1523), done.
>> Writing objects: 100% (1709/1709), 1.95 MiB | 3818 KiB/s, done.
>> Total 1709 (delta 535), reused 0 (delta 0)
>> *** Project description file hasn't been set
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>> error: hooks/update exited with error code 1
>> error: hook declined to update refs/heads/master
>
> Apparently, you have a hook installed on the remote side which
> checks for
> a valid description, and refuses even updating refs before you set the
> description correctly.
Ok.
So, what's a hook ? and how I set the description ??
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-21 13:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-21 9:34 error: hook declined to update refs/heads/master Jonathan Biolaz
2008-07-21 9:54 ` Johannes Schindelin
2008-07-21 11:33 ` Jonathan Biolaz
2008-07-21 13:24 ` Dmitry Potapov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).