From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] More questions about git
Date: Sat, 21 Oct 2006 14:45:03 +0400
Message-ID: <20061021104503.GB3042@hell.immo.ru> (raw)
In-Reply-To: <45394A20.2090403@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]
* Sviatoslav Sviridov <svd@> [061021 02:10]:
> Еще вопрос: допустим, я делаю в свой репозиторий fetch из чужого. Затем
> делаю у себя бранч и вливаю изменения из чжого репоитория в свой бранч.
> Потом хочу этот бранч выложить к себе на git.alt. Имеет ли смысл в этом
> случае выкладывать к себе на git.alt тот бранч, который был вытащен из
> чужого репозиория или необходимо/достаточно выложить только свой рабочий
> бранч?
Я обычно делаю так (на примере zsh от at@):
$ ssh -n git.alt git-clone /people/at/packages/zsh.git
$ git-clone git.alt:/people/raorn/packages/zsh.git
$ cd zsh
$ git-branch raorn/completion-alt master
Свой бранч я называю $USERNAME/что-то чтобы другие могли этот
бранч fetch'ить себе не задумываясь о том, не пересекаются ли
наши бранчи по именам.
$ git-checkout raorn/completion-alt
HAK, HAK, HAK...
$ git push origin raorn/completion-alt
Мои .git/remotes/*:
$ cat .git/remotes/origin
URL: git.alt:/people/raorn/packages/zsh.git
Pull: refs/heads/master:refs/heads/origin
Pull: refs/heads/raorn/test-cvs:refs/heads/raorn/test-cvs
Pull: refs/heads/raorn/completion-alt:refs/heads/raorn/completion-alt
Pull: refs/heads/cvs:refs/heads/cvs
$ cat .git/remotes/at
URL: git.alt:/people/at/packages/zsh.git
Pull: refs/heads/master:refs/heads/at/master
Pull: refs/heads/cvs:refs/heads/cvs
Мне сложно сказать сколько тут лишнего ;-)
Периодически делаю
$ git-fetch at
--
Regards,
Sir Raorn.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-10-21 10:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-20 22:13 Sviatoslav Sviridov
2006-10-21 10:45 ` Alexey I. Froloff [this message]
2006-10-22 19:38 ` Sviatoslav Sviridov
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=20061021104503.GB3042@hell.immo.ru \
--to=raorn@immo.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