ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] nmap branching, newbie question, was: Fwd: [#282648] EPERM (try 6) nmap.git=7.80-alt2
Date: Sat, 30 Oct 2021 11:55:10 +0300
Message-ID: <7152720b-e0aa-70fa-39a1-ffe399147e53@basealt.ru> (raw)
In-Reply-To: <YXx23CUVTZzUvfJR@glebfm.cloud.tilaa.com>

On 30.10.2021 01:34, Gleb Fotengauer-Malinovskiy wrote:
> Да, в этом месте приходится применять небольшую хитрость, чтобы все
> исходники совпадали с подготовленным бранчем, а .gear, spec и остальные
> файлы остались на месте.  Я делаю это так:
>
> git merge -s ours --no-commit alt/7.80
> git read-tree alt/7.80
> git checkout @ -- .gear/ alt/
> git commit
> git reset --hard

Это, кстати, отличный рецепт - я им пользуюсь уже больше года.

Наверное надо где-то его документировать, но проблема в том, что им надо 
пользоваться с пониманием того, что делаешь.




      reply	other threads:[~2021-10-30  8:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  6:03           ` [devel] " Vitaly Lipatov
2021-09-30 17:24             ` Pavel Nakonechnyi
2021-09-30 20:33               ` Vitaly Lipatov
2021-10-01  7:36                 ` Pavel Nakonechnyi
2021-10-01 11:11                   ` Vladimir D. Seleznev
2021-10-26  9:04             ` [devel] nmap branching, newbie question, was: " Pavel Nakonechnyi
2021-10-28 18:11               ` Vitaly Lipatov
2021-10-29 22:34                 ` Gleb Fotengauer-Malinovskiy
2021-10-30  8:55                   ` Anton Farygin [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=7152720b-e0aa-70fa-39a1-ffe399147e53@basealt.ru \
    --to=rider@basealt.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