git rebase does not rebase commits

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

 



Hello Git team,

If I am trying to rebase commits from one unrelated history to another but this does not work.
Example:
* Merge
|\
| *x1 (test)
| *x2
*y1 (upstream)
*y2

git rebase --onto upstream upstream test

The TODO
label onto

# Branch openapi3-exception-handling
reset [new root]
pick x1
pick x2

I think problem is here because 'test' branch does not have fork point with 'upstream'

Expected:
label onto

# Branch openapi3-exception-handling
reset upstream
pick x1
pick x2

Is this a bug or I did something wrong or missed some options?



-- 
Best regards,
Eugen Konkov




[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