From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konstantin Khomoutov Subject: Re: Can I zip a git repo without losing anything? Date: Mon, 26 Nov 2012 17:04:41 +0400 Message-ID: <20121126170441.a6c94f108bc57cca8bcfe679@domain007.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org To: Carl Smith X-From: git-owner@vger.kernel.org Mon Nov 26 14:05:04 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TcyMv-00077u-Dl for gcvg-git-2@plane.gmane.org; Mon, 26 Nov 2012 14:05:01 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752896Ab2KZNEq (ORCPT ); Mon, 26 Nov 2012 08:04:46 -0500 Received: from mailhub.007spb.ru ([84.204.203.130]:42209 "EHLO mailhub.007spb.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752272Ab2KZNEp (ORCPT ); Mon, 26 Nov 2012 08:04:45 -0500 Received: from programmer.Domain007.com (programmer.domain007.com [192.168.2.100]) by mailhub.007spb.ru (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id qAQD4ec8006413; Mon, 26 Nov 2012 17:04:41 +0400 In-Reply-To: X-Mailer: Sylpheed 3.3.0 (GTK+ 2.10.14; i686-pc-mingw32) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Mon, 26 Nov 2012 04:55:10 +0000 Carl Smith wrote: > After suggesting using zip files to move our projects around, I was > told that you can not zip a git repo without loosing all the history. > This didn't make sense to me, but two people told me the same thing, > so I wasn't sure. I think they may have been confusing the zipped file > you can download from GitHub with a zipped git repo. > > If someone could put me straight on this, I'd really appreciate it. To amend the already provided answer -- if you need to move repos around using the sneakernet, the tool you should probably use is `git bundle`.