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

Re: problem with branches

From
Jeff King <peff@peff.net>
Date
Jun 2, 2008, 17:23 UTC
Message-ID
<20080602172346.GA18945@sigill.intra.peff.net>
In-Reply-To
<556d90580806020314u7ba60af7kc0176a1867ba32fb@mail.gmail.com>
On Mon, Jun 02, 2008 at 12:14:07PM +0200, Alf Clement wrote:
>  = [up to date]      TEST -> TEST
>  ! [remote rejected] master -> master (hook declined)
>  ! [remote rejected] v3.11 -> v3.11 (hook declined)
> error: failed to push some refs to 'git://XXXX/YY'

OK. So your "update" hook returned failure. What's in the remote's .git/hooks/update?

> I also get a warning when moving between branches:
> $ git checkout v3.11
> Switched to branch "v3.11"
> Your branch is ahead of the tracked remote branch 'origin/v3.11' by 1 commit.

This is fine; it's just reminding you that you have commits that could be pushed.

-Peff
Previous: Alf Clement
Message 2 of 2 in “problem with branches”
  1. Alf ClementJun 2, 2008
  2. Jeff KingJun 2, 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.