ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Вопрос по вытаскиванию коммитов из Git
Date: Wed, 25 Mar 2009 23:58:00 +0300
Message-ID: <20090325205800.GA8685@altlinux.org> (raw)
In-Reply-To: <m3ocvpzb9v.fsf@blard.localdomain>

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

* Michael Pozhidaev <msp@> [090325 21:57]:
> Вопрос к тем, кто хорошо знает возможности git, как можно средствами git
> получить diff, отвечающий за нужный коммит, чтобы не сравнивать самому
> изменения и не изготовлять руками нужный патч?
git format-patch в склонированном репо и git am в рабочем.  Или
git fetch в рабочем, git cherry-pick нужные коммиты и потом
почистить рабочий репо.  Можно даже в raw виде скачать коммиты с
гитвеба и сделать git apply + git commit (или git am, только надо
первую строчку из commit message убрать, которая с Subject
совпадает).  В общем вариантов множество.

-- 
Regards,
Sir Raorn.

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

      parent reply	other threads:[~2009-03-25 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 18:51 Michael Pozhidaev
2009-03-25 18:58 ` Valery V. Inozemtsev
2009-03-25 18:58 ` Andrey Rahmatullin
2009-03-25 19:19 ` Led
2009-03-25 20:58 ` Alexey I. Froloff [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=20090325205800.GA8685@altlinux.org \
    --to=raorn@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