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