all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: Git question. Is there a way of duplicating a git repository?
Date: Sun, 15 Nov 2015 10:43:53 +0000	[thread overview]
Message-ID: <20151115104353.GC1766@acm.fritz.box> (raw)
In-Reply-To: <56476A0C.3030300@yandex.ru>

Hello, Dmitry.

On Sat, Nov 14, 2015 at 07:06:20PM +0200, Dmitry Gutov wrote:
> On 11/14/2015 01:20 PM, Alan Mackenzie wrote:

> > So, is there any convenient way of duplicating a repo (using hard links,
> > and preserving config info)?

> See http://nuclearsquid.com/writings/git-new-workdir/.

I had a look at that site, thanks.

> However, considering your attitude to learning Git internals, maybe you 
> should just use one of the two already two methods that you've already 
> mentioned, and live with its drawbacks.

Just to clarify that attitude: I'm most unhappy about the fact that I
need to learn about git internals to be able to get work done; I'd far
prefer just to be a git user.  However, when it is necessary to dive
into the internals, I do it.

> git-new-workdir worked fine for me, though, last I tried.

With the help of suggestions from Ken Brown, I've managed to get the
setup I want.

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2015-11-15 10:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-14 11:20 Git question. Is there a way of duplicating a git repository? Alan Mackenzie
2015-11-14 17:03 ` Achim Gratz
2015-11-14 17:06 ` Dmitry Gutov
2015-11-15 10:43   ` Alan Mackenzie [this message]
2015-11-14 17:20 ` Liang Wang
2015-11-14 17:27 ` Ivan Shmakov
2015-11-14 17:37 ` David Reitter
2015-11-14 17:57 ` chris.nixon
2015-11-14 18:17 ` John Wiegley
2015-11-14 21:35   ` Alan Mackenzie
2015-11-16  8:42     ` David Kastrup
2015-11-17 11:54     ` Stephen Leake
2015-11-14 19:21 ` Andreas Schwab
2015-11-14 20:02 ` Andy Moreton
2015-11-14 21:02 ` Ken Brown
2015-11-15 10:33   ` Alan Mackenzie
2015-11-15  2:46 ` Mike Gerwitz
2015-11-15  7:58 ` Paul Eggert
2015-11-15 10:02 ` Steinar Bang

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=20151115104353.GC1766@acm.fritz.box \
    --to=acm@muc.de \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.