ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Andrew V. Stepanov" <stanv@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] git question.
Date: Wed, 17 Dec 2008 18:50:41 +0300
Message-ID: <20081217155041.GD7161@stanv.malta.altlinux.ru> (raw)
In-Reply-To: <200812181722.49700.morozov_ml@ngs.ru>

Alexey Morozov:
> On Thursday 18 December 2008 16:03:17 Denis Medvedev wrote:
> > Добрый день!
> > Какая правильная процедура поднятия версии при работе в 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изифу были
> > благополучно выкинуты и заменены новой версией файлов! Что я не так делаю?
> > Как правильно?
> 
> Вероятнее всего, правильно примерно так:
> 
> 1. есть ветка с апстримовскими сорцами, назовём её, скажем, upstream.
> в неё заливаются, как есть, сорцы версии 1.0, желательно в распакованном виде.
> Ставим метку (что-то типа upstream-1.0)

Если в распакованом, тогда убедиться что в исходном дереве нету пустых
каталогов.


--
 stanv -- http://andrusha.googlepages.com


  reply	other threads:[~2008-12-17 15:50 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 [this message]
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=20081217155041.GD7161@stanv.malta.altlinux.ru \
    --to=stanv@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