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

Re: error: hook declined to update refs/heads/master

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 21, 2008, 09:54 UTC
Message-ID
<alpine.DEB.1.00.0807211153340.3305@eeepc-johanness>
In-Reply-To
<80F1AC38-8A10-4184-BBFB-870399DE9A3A@sikatizen.com>
Hi,
On Mon, 21 Jul 2008, Jonathan Biolaz wrote:
Show 7 quoted lines
> $ 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

Previous: Jonathan BiolazNext: Jonathan Biolaz
Message 2 of 4 in “error: hook declined to update refs/heads/master”
  1. Jonathan BiolazJul 21, 2008
  2. Johannes SchindelinJul 21, 2008
  3. Jonathan BiolazJul 21, 2008
  4. Dmitry PotapovJul 21, 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.