{"thread":{"id":"59568","subject":"git rebase does not rebase commits","startedAt":"2023-04-08T18:00:34Z","lastAt":"2023-04-08T18:00:34Z","messageCount":1,"participants":["Eugen Konkov"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"475037","messageId":"1895713690.20230408140025@yandex.ru","threadId":"59568","inReplyTo":null,"subject":"git rebase does not rebase commits","fromName":"Eugen Konkov","fromEmail":"kes-kes@yandex.ru","sentAt":"2023-04-08T18:00:25Z","receivedAt":"2023-04-08T18:00:34Z","isPatch":false,"sender":{"key":"kes-kes@yandex.ru","avatar":null},"body":"Hello Git team,\n\nIf I am trying to rebase commits from one unrelated history to another but this does not work.\nExample:\n* Merge\n|\\\n| *x1 (test)\n| *x2\n*y1 (upstream)\n*y2\n\ngit rebase --onto upstream upstream test\n\nThe TODO\nlabel onto\n\n# Branch openapi3-exception-handling\nreset [new root]\npick x1\npick x2\n\nI think problem is here because 'test' branch does not have fork point with 'upstream'\n\nExpected:\nlabel onto\n\n# Branch openapi3-exception-handling\nreset upstream\npick x1\npick x2\n\nIs this a bug or I did something wrong or missed some options?\n\n\n\n-- \nBest regards,\nEugen Konkov\n\n"}]}