ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] git clone from git.altlinux.org
Date: Wed, 5 Nov 2008 00:14:30 +0200
Message-ID: <200811050014.30455.ledest@gmail.com> (raw)
In-Reply-To: <20081104220350.GP9550@altlinux.org>

On Wednesday, 05 November 2008 00:03:50 Alexey Tourbin wrote:
> On Tue, Nov 04, 2008 at 11:59:11PM +0200, Led wrote:
> > On Tuesday, 04 November 2008 23:42:54 Ivan Fedorov wrote:
> > > Led <ledest-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> > > > On Tuesday, 04 November 2008 23:35:11 Ivan Fedorov wrote:
> > > >> Led <ledest-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> > > >> > Как можно склонировать репозитарий с git.altlinux.org? Только так,
> > > >> > чтобы ВЕСЬ, со ВСЕМИ бранчами?
> > > >> > Я тут "случайно потерял" один из своих локальных репозитариев :(
> > > >>
> > > >> $ git clone git.alt:packages/<PKG>.git
> > > >
> > > > Ага, спасибо. Но это я, как бы, знаю:)
> > > > А "ВЕСЬ, со ВСЕМИ бранчами" (а не только master)?
> > >
> > > clone делает ПОЛНУЮ копию. Просто он не делает checkout.
> > >
> > > после clone делаешь:
> > >
> > > $ git branch -r # показывает "ремотные" бранчи
> > >
> > > и по каждому делаешь:
> > >
> > > $ git checkout -b <BRANCHNAME> origin/<BRANCHNAME>
> >
> > Понятно. Спасибо.
> > Значит в первозданном виде я его не получу... :(
>
> git clone --bare .../foo.git
> mkdir foo
> mv foo.git foo/.git
> cd foo
> git checkout -f master

это я пробовал. но
$ git checkout -f master
fatal: This operation must be run in a work tree

-- 
Led

  reply	other threads:[~2008-11-04 22:14 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-04 21:06 Led
2008-11-04 21:35 ` Ivan Fedorov
2008-11-04 21:38   ` Led
2008-11-04 21:39     ` Kirill A. Shutemov
2008-11-04 21:44       ` Dmitry V. Levin
2008-11-04 21:52         ` Led
2008-11-04 21:56           ` Dmitry V. Levin
2008-11-04 21:42     ` Ivan Fedorov
2008-11-04 21:59       ` Led
2008-11-04 22:03         ` Alexey Tourbin
2008-11-04 22:14           ` Led [this message]
2008-11-04 22:17             ` Alexey Tourbin
2008-11-04 22:24               ` Led
2008-11-04 22:33                 ` Mikhail Gusarov
2008-11-04 23:13                   ` Alexey I. Froloff
2008-11-05 10:10                   ` [devel] [JT] " Ivan Fedorov
2008-11-05  8:49                 ` [devel] " Aleksey Avdeev
2008-11-05  8:50                   ` Ildar Mulyukov
2008-11-05  8:54                     ` Aleksey Avdeev
2008-11-05 10:28                       ` Alexey I. Froloff
2008-11-04 23:12         ` Alexey I. Froloff
2008-11-06 18:56         ` Max Ivanov
2008-11-06 21:09           ` Alexey I. Froloff
2008-11-06 22:06             ` Led
2008-11-06 13:04 ` Led
2008-11-06 18:12   ` Andrey Rahmatullin
2008-11-06 22:05     ` Led
2008-11-06 22:28       ` Dmitry V. Levin
2008-11-10 19:20         ` Michael Shigorin
2008-11-10 21:43           ` Dmitry V. Levin
2008-11-10 21:48             ` Michael Shigorin

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=200811050014.30455.ledest@gmail.com \
    --to=ledest@gmail.com \
    --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