git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Error when pushing

From
JGJan-Benedict Glaw <jbglaw@lug-owl.de>
Date
May 7, 2008, 15:39 UTC
Message-ID
<20080507153927.GL1472@lug-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:
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  :
Previous: Ryan Taylor
Message 4 of 4 in “Error when pushing”
  1. Ryan TaylorMay 7, 2008
  2. Jan-Benedict GlawMay 7, 2008
  3. Ryan TaylorMay 7, 2008
  4. Jan-Benedict GlawMay 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.