From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] elinks.git переход на новый бранч
Date: Wed, 4 Apr 2007 14:35:11 +0400
Message-ID: <20070404103510.GI30995@solemn.turbinal> (raw)
In-Reply-To: <46136F22.6040106@solin.spb.ru>
[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]
On Wed, Apr 04, 2007 at 01:25:54PM +0400, Aleksey Avdeev wrote:
> > У меня слишком много изменений в моем бранче, который тесно привязан
> > к elinks-0.11. Патчев отдельно не держу. Может быть rebase даст меньше
> > конфликтов.
>
> Можно попробовать... Меня здесь git-cherry-pick, выполняемые ранее,
> настораживают: если правильно понимаю -- оно связи родитель-потомок не
> оставляет, что может вызвать сложности при rebase... (Но похоже -- этот
> квест всё равно придётся пройти...)
>
> > Но ведь нужно как-то ещё иметь в качестве common ancestor
> > последний таг 0.11.2-alt1. Или не нужно?
>
> Кажется я запутался. Что именно имеется в виду: Точка ветвления вашего
> бранча от апстрима?
Приложил скриншот.
Я работаю с бранчем elinks-0.11 (на рисунке он до конца не показан, а
кончается на теге elinks-0.11.2). А туда вверх идет другой бранч --
он называется origin, начиная с коммита elinks-0.12.GIT. Общий предок
у этих брачей -- elinks-0.11.0. Он там глубоко внизу.
Из рисунка видно, что я крепко привязан к бранчу elinks-0.11, т.е. я
вносил свои изменения, потом pull, потом опять вносил свои изменения,
потом поять pull, и т.д.
Теперь я хочу делать новую сборку на основе бранча elinks-0.12.GIT,
который уходит туда вверх "в бесконечность".
Наивный pull тут сделать очень проблемно. Можно попробовать
перебазировать все свои изменения на бранч elinks-0.12.GIT,
не то с помощью git-rebase, не то с помощью cherry-pick.
Но возникает вопрос: нужно ли делать merge со старым бранчем master,
хотя бы и фиктивный? Фиктивный merge ведь тоже чреват последствиями:
git будет думать, что какие-то левые изменения там теперь есть, а на
самом деле там их нет. Или git достаточно хитер для того, чтобы
распознать применение левой стратегии ours?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-04-04 10:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-03 22:04 Alexey Tourbin
2007-04-03 21:49 ` Aleksey Avdeev
2007-04-04 9:20 ` Alexey Tourbin
2007-04-04 9:25 ` Aleksey Avdeev
2007-04-04 10:35 ` Alexey Tourbin [this message]
2007-04-04 10:50 ` Sergey Vlasov
2007-04-04 11:03 ` Alexey Tourbin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070404103510.GI30995@solemn.turbinal \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git