From: Michael Pozhidaev <msp@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] Искусство git
Date: Fri, 03 Apr 2009 07:13:15 +0700
Message-ID: <m3myay61d0.fsf@blard.localdomain> (raw)
Привет всем!
Вот такой вопрос про _правильное_ использование git-репозиториев:
предположим есть пакет foobar-1.0.0-alt1, лежит в git-репозитории в
master. Его собрал и отправил в Сизиф. Потом стал делать сборку в 5.0,
грю git branch 5.0 и делаю там версию foobar-1.0.0-alt0.M50.1 и тоже
нормально отправляю в бранч.
Потом поработал над пакетом в master и сделал версию foobar-1.1.0-alt1,
и когда нужно делать версию для бранча я точно знаю, что она должна
наследоваться
только от master и не иметь никаких связей с текущим состоянием ветки
5.0, где по-прежнему лежит foobar-1.0.0-alt0.M50.1.
Первое, что приходит в голову, просто убить ветку 5.0, и снова
ggit branch 5.0. но вдруг есть какое-то более правильное средство, которое,
скажем, приводит к более эффективному хранению изменений или ещё
что-нибудь в этом роде?
Просто пересоздавать ветку или это нужно делать как-то иначе?
--
Michael Pozhidaev. E-mail: msp@altlinux.ru.
Tomsk State University. http://www.csd.tsu.ru
ALT Linux Team. http://www.altlinux.org
next reply other threads:[~2009-04-03 0:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 0:13 Michael Pozhidaev [this message]
2009-04-03 0:23 ` Dmitry V. Levin
2009-04-03 0:31 ` Michael Pozhidaev
2009-04-03 0:59 ` Alexey I. Froloff
2009-04-03 1:08 ` Michael Pozhidaev
2009-04-03 5:15 ` Mikhail Gusarov
2009-04-03 1:11 ` Led
2009-04-03 14:30 ` Denis Pynkin
2009-04-03 16:20 ` Michael Pozhidaev
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=m3myay61d0.fsf@blard.localdomain \
--to=msp@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