# Error when pushing

4 messages from 2008-05-07 to 2008-05-07. Participants: Ryan Taylor, Jan-Benedict Glaw.
Thread: https://gitlist.dev/t/13418

## Ryan Taylor, 2008-05-07 15:02

Subject: Error when pushing
Message-ID: <4B58A837F454E14AA0453EDBADE96A62B5F606@mildred.leeds-art.ac.uk>
URL: https://gitlist.dev/e/4B58A837F454E14AA0453EDBADE96A62B5F606%40mildred.leeds-art.ac.uk

```
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, 2008-05-07 15:04

Subject: Re: Error when pushing
Message-ID: <20080507150440.GK1472@lug-owl.de>
URL: https://gitlist.dev/e/20080507150440.GK1472%40lug-owl.de
In-Reply-To: <4B58A837F454E14AA0453EDBADE96A62B5F606@mildred.leeds-art.ac.uk>

```
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?

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, 2008-05-07 15:26

Subject: RE: Error when pushing
Message-ID: <4B58A837F454E14AA0453EDBADE96A62B5F621@mildred.leeds-art.ac.uk>
URL: https://gitlist.dev/e/4B58A837F454E14AA0453EDBADE96A62B5F621%40mildred.leeds-art.ac.uk
In-Reply-To: <20080507150440.GK1472@lug-owl.de>

```
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:
> 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, 2008-05-07 15:39

Subject: Re: Error when pushing
Message-ID: <20080507153927.GL1472@lug-owl.de>
URL: https://gitlist.dev/e/20080507153927.GL1472%40lug-owl.de
In-Reply-To: <4B58A837F454E14AA0453EDBADE96A62B5F621@mildred.leeds-art.ac.uk>

```
On Wed, 2008-05-07 16:26:34 +0100, Ryan Taylor <ryan.taylor@leeds-art.ac.uk> wrote:
> 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  :

```
