emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Git question. Is there a way of duplicating a git repository?


From: Stephen Leake
Subject: Re: Git question. Is there a way of duplicating a git repository?
Date: Tue, 17 Nov 2015 05:54:14 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

Alan Mackenzie <address@hidden> writes:

> What I want is a command (or a ready recipe) to do for git repositories
> what `fork' does for processes (but sharing the maximum possible from
> the original repository with hard links).  After writing my opening post
> I even tried a `git clone --mirror', but the resulting repository wasn't
> a mirror of the original at all.

I think "git worktree add" is what you are looking for. It requires git
2.5 or later.

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]