ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <damir@altlinux.org>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] git question.
Date: Thu, 18 Dec 2008 14:07:09 +0300
Message-ID: <679044850812180307r4ebb48f3s79420162d98a4d60@mail.gmail.com> (raw)
In-Reply-To: <E1LDFiv-0009xN-00.a_mdl-mail-ru@f134.mail.ru>

> Какая правильная процедура поднятия версии при работе в git?
> У меня был xxx-1.0.tar.gz
> Я его залил в гит, помучал(коммиты есть), опакетил для сизифа.
> Вышел xxx-2.0.tar.gz
> Я попробовал сделать следующее:
> git-branch 2.0
> распаковал туда архив
> git-commit -a
> git-checkout master
> git-merge 2.0
> Все успешно проехало... но мои изменения-адаптации к cизифу были благополучно выкинуты и заменены новой версией файлов!
> Что я не так делаю? Как правильно?

Правильнее было бы сделать ветку типа upstream. В нее распаковать 1.0,
закоммитить. Потом ее смержить в мастер, а там внести свои сизифные
изменения.

При выходе 2.0 перейти в ветку upstream.  Там распаковать 2.0,
закоммитить. Дальше смержить в мастер.

  reply	other threads:[~2008-12-18 11:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-18 10:03 Denis Medvedev
2008-12-18 11:07 ` Damir Shayhutdinov [this message]
2008-12-18 11:22 ` Alexey Morozov
2008-12-17 15:50   ` Andrew V. Stepanov
2008-12-18 11:43   ` Dmitriy M. Maslennikov
2008-12-18 12:25     ` Led
2008-12-18 18:59   ` Slava Semushin
2008-12-19  6:14     ` Vladimir V. Kamarzin
2008-12-18 12:05 ` Sergey Vlasov

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=679044850812180307r4ebb48f3s79420162d98a4d60@mail.gmail.com \
    --to=damir@altlinux.org \
    --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