ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] git question.
Date: Thu, 18 Dec 2008 15:05:48 +0300
Message-ID: <20081218120548.GC30445@newmaster.mivlgu.local> (raw)
In-Reply-To: <E1LDFiv-0009xN-00.a_mdl-mail-ru@f134.mail.ru>

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

On Thu, Dec 18, 2008 at 01:03:17PM +0300, Denis Medvedev wrote:
> Какая правильная процедура поднятия версии при работе в git?
> У меня был xxx-1.0.tar.gz 
> Я его залил в гит, помучал(коммиты есть), опакетил для сизифа.
> Вышел xxx-2.0.tar.gz
> Я попробовал сделать следующее:
> git-branch 2.0

Бранч надо создавать от того коммита, который содержал неизменённые
исходники предыдущей версии.  Т.е., теперь придётся найти этот коммит
(например, в gitk), после чего выполнить

  git checkout -b upstream $commit_with_old_version

Далее обновить исходники (например, через gear-update), закоммитить
изменения, после чего

  git checkout master
  git merge upstream

При следущих обновлениях можно просто добавлять новые версии в бранч
upstream и мержить в master.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2008-12-18 12:05 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
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 [this message]

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=20081218120548.GC30445@newmaster.mivlgu.local \
    --to=vsu@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