From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Git question. Is there a way of duplicating a git repository? Date: Sat, 14 Nov 2015 11:20:27 +0000 Message-ID: <20151114112027.GA2567@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1447519655 2547 80.91.229.3 (14 Nov 2015 16:47:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Nov 2015 16:47:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 14 17:47:26 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zxdz3-0004qm-Iw for ged-emacs-devel@m.gmane.org; Sat, 14 Nov 2015 17:47:25 +0100 Original-Received: from localhost ([::1]:35780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zxdz2-00058M-Mq for ged-emacs-devel@m.gmane.org; Sat, 14 Nov 2015 11:47:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxYqp-0001NR-3T for emacs-devel@gnu.org; Sat, 14 Nov 2015 06:18:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxYql-0007nt-T7 for emacs-devel@gnu.org; Sat, 14 Nov 2015 06:18:35 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:34250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxYql-0007nY-Mo for emacs-devel@gnu.org; Sat, 14 Nov 2015 06:18:31 -0500 Original-Received: (qmail 50032 invoked by uid 3782); 14 Nov 2015 11:18:29 -0000 Original-Received: from acm.muc.de (p5B14781D.dip0.t-ipconnect.de [91.20.120.29]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 14 Nov 2015 12:18:28 +0100 Original-Received: (qmail 2624 invoked by uid 1000); 14 Nov 2015 11:20:27 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194458 Archived-At: Hello, Emacs. Now that we've cut the emacs-25 release branch, I'd like to have a distinct repository for this. I could simply download another copy from savannah, but this would (presumably) be a distinct copy, rather than hard linking the repository files. This would cost me disk (and backup) space. Or I could clone my master repository to make emacs-25. But this would make the new repo firmly subordinate to the master repo, rather than directly with savannah. So, is there any convenient way of duplicating a repo (using hard links, and preserving config info)? -- Alan Mackenzie (Nuremberg, Germany).