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

Re: More on "fast foward"

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 3, 2009, 17:53 UTC
Message-ID
<alpine.DEB.1.00.0903031851090.6399@intel-tinevez-2-302>
In-Reply-To
<450196A1AAAE4B42A00A8B27A59278E709F0769A@EXCHANGE.trad.tradestation.com>
Hi,
On Tue, 3 Mar 2009, John Dlugosz wrote:
Show 6 quoted lines
> After I merged the release fixes back into the development branch, I was 
> surprised that push complained that it was not fast-forward.  I thought 
> someone must have added something since I looked, but no, my repository 
> matches exactly.  My new dev branch label is the immediate descendant of 
> the old one.  My new node has another ancestor as well, but so what? The 
> same changes, not recorded as a merge, would work without complaint.

I can only assume that something went wrong with the merge. To be absolutely sure that your new tip of the branch is a descendant of the current tip on the remote side, do this:

	$ git show-branch $BRANCH $(git ls-remote $REMOTE $BRANCH)

where $BRANCH and $REMOTE are determined by your push command which should look something like this:

	$ git push $REMOTE $BRANCH

The show-branch command should show you what Git assumes happened on both branches (the local and the remote one) since the branch point.

Ciao, Dscho

Previous: John Dlugosz
Message 2 of 2 in “More on "fast foward"”
  1. John DlugoszMar 3, 2009
  2. Johannes SchindelinMar 3, 2009

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.