threads / discuss / 13418

Error when pushing

Subject: Error when pushing

## tl;dr

4 messages between May 7, 2008 and May 7, 2008.

replies: 3people: 2as markdown or json

Ryan Taylor· May 7, 2008, 15:02 UTC · lore
Hi, 
I'm getting the following error when pushing from my dev box to my live box:
ryant@brewster:/gittest$ git push ryan@bert:/webdata/gittest/
ryan@bert's password:
updating 'refs/heads/master'
  from 60d4194d6d5647f1c18fb7235754984bd4e5a8d9
  to   97c26890703c1f08e02623e4e84a40e4ca0e0a1e
Generating pack...
Done counting 4 objects.
Result has 3 objects.
Deltifying 3 objects...
 100% (3/3) done
Writing 3 objects...
 100% (3/3) done
Total 3 (delta 0), reused 0 (delta 0)
Unpacking 3 objects
*** Project description file hasn't been set
error: hooks/update exited with error code 1
error: hook declined to update refs/heads/master
ng refs/heads/master hook declined
error: failed to push to 'ryan@bert:/webdata/gittest/'
Can anybody shed any light?
Cheers
Ryan
Jan-Benedict Glaw· May 7, 2008, 15:04 UTC · re: Ryan Taylor · lore

Re: Error when pushing

On Wed, 2008-05-07 16:02:46 +0100, Ryan Taylor <ryan.taylor@leeds-art.ac.uk> wrote:
Show 23 quoted lines
> I'm getting the following error when pushing from my dev box to my live box:
> 
> ryant@brewster:/gittest$ git push ryan@bert:/webdata/gittest/
> ryan@bert's password:
> updating 'refs/heads/master'
>   from 60d4194d6d5647f1c18fb7235754984bd4e5a8d9
>   to   97c26890703c1f08e02623e4e84a40e4ca0e0a1e
> Generating pack...
> Done counting 4 objects.
> Result has 3 objects.
> Deltifying 3 objects...
>  100% (3/3) done
> Writing 3 objects...
>  100% (3/3) done
> Total 3 (delta 0), reused 0 (delta 0)
> Unpacking 3 objects
> *** Project description file hasn't been set
> error: hooks/update exited with error code 1
> error: hook declined to update refs/heads/master
> ng refs/heads/master hook declined
> error: failed to push to 'ryan@bert:/webdata/gittest/'
> 
> Can anybody shed any light?
Did you actually *read* the error messages?
MfG, JBG
-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:               The real problem with C++ for kernel modules is:
the second  :                                 the language just sucks.
                                                   -- Linus Torvalds
Ryan Taylor· May 7, 2008, 15:26 UTC · re: Jan-Benedict Glaw · lore

RE: Error when pushing

Yes. But I'm new to git and don't understand what it means.
-----Original Message-----
From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On Behalf Of Jan-Benedict Glaw
Sent: 07 May 2008 16:05
To: Ryan Taylor
Cc: git@vger.kernel.org
Subject: Re: Error when pushing
On Wed, 2008-05-07 16:02:46 +0100, Ryan Taylor <ryan.taylor@leeds-art.ac.uk> wrote:
Show 23 quoted lines
> I'm getting the following error when pushing from my dev box to my live box:
> 
> ryant@brewster:/gittest$ git push ryan@bert:/webdata/gittest/ 
> ryan@bert's password:
> updating 'refs/heads/master'
>   from 60d4194d6d5647f1c18fb7235754984bd4e5a8d9
>   to   97c26890703c1f08e02623e4e84a40e4ca0e0a1e
> Generating pack...
> Done counting 4 objects.
> Result has 3 objects.
> Deltifying 3 objects...
>  100% (3/3) done
> Writing 3 objects...
>  100% (3/3) done
> Total 3 (delta 0), reused 0 (delta 0)
> Unpacking 3 objects
> *** Project description file hasn't been set
> error: hooks/update exited with error code 1
> error: hook declined to update refs/heads/master ng refs/heads/master 
> hook declined
> error: failed to push to 'ryan@bert:/webdata/gittest/'
> 
> Can anybody shed any light?
Did you actually *read* the error messages?
MfG, JBG
-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:               The real problem with C++ for kernel modules is:
the second  :                                 the language just sucks.
                                                   -- Linus Torvalds
Jan-Benedict Glaw· May 7, 2008, 15:39 UTC · re: Ryan Taylor · lore

Re: Error when pushing

On Wed, 2008-05-07 16:26:34 +0100, Ryan Taylor <ryan.taylor@leeds-art.ac.uk> wrote:
Show 29 quoted lines
> On Behalf Of Jan-Benedict Glaw:
> > On Wed, 2008-05-07 16:02:46 +0100, Ryan Taylor <ryan.taylor@leeds-art.ac.uk> wrote:
> > > I'm getting the following error when pushing from my dev box to my live box:
> > > 
> > > ryant@brewster:/gittest$ git push ryan@bert:/webdata/gittest/ 
> > > ryan@bert's password:
> > > updating 'refs/heads/master'
> > >   from 60d4194d6d5647f1c18fb7235754984bd4e5a8d9
> > >   to   97c26890703c1f08e02623e4e84a40e4ca0e0a1e
> > > Generating pack...
> > > Done counting 4 objects.
> > > Result has 3 objects.
> > > Deltifying 3 objects...
> > >  100% (3/3) done
> > > Writing 3 objects...
> > >  100% (3/3) done
> > > Total 3 (delta 0), reused 0 (delta 0)
> > > Unpacking 3 objects
> > > *** Project description file hasn't been set
> > > error: hooks/update exited with error code 1
> > > error: hook declined to update refs/heads/master ng refs/heads/master 
> > > hook declined
> > > error: failed to push to 'ryan@bert:/webdata/gittest/'
> > > 
> > > Can anybody shed any light?
> > 
> > Did you actually *read* the error messages?
> 
> Yes. But I'm new to git and don't understand what it means.

A `hook' is running. Hooks are (usually) little scripts to do some additional automated tasks that aren't the main business of the SCM system itself. In your case, the hook `hooks/update' was started and it aborted (returning an error condition). Just look at that script (it's on the server within the GIT repo you're pushing to) to see what it does.

MfG, JBG
-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
  Signature of:                           Wenn ich wach bin, träume ich.
  the second  :

← back to recent threads