Re: More on "fast foward"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 3 Mar 2009, John Dlugosz wrote:

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux