Re: git pull bug report

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

 



On 15/11/21 15.56, Erwin Villejo wrote:
There is nothing to reconcile since the branches have not diverged:
local is ahead of upstream. So I think it is a bug, no?

You have the situation like:

---o---a (your mainline)
   \
    b---c---d (remote mainline)

Your mainline only have one commit ahead of base point `o`, while the remote mainline have three commits ahead of `o` but unrelated. In this sense, your and remote mainline is divergent - you need to either merge or rebase.

Next time, keep your mainline pristine (don't commit any local changes on it, instead branch to the topic branch and commit there).

--
An old man doll... just what I always wanted! - Clara



[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