Re: Can I zip a git repo without losing anything?
- From
- Konstantin Khomoutov <kostix+git@007spb.ru>
- Date
- Nov 26, 2012, 13:04 UTC
- Message-ID
- <20121126170441.a6c94f108bc57cca8bcfe679@domain007.com>
- In-Reply-To
- <CAP-uhDcQg0BuEdHDTa6qVqLCeB-LE1GZtEqHgY_j1--XodsDKw@mail.gmail.com>
On Mon, 26 Nov 2012 04:55:10 +0000 Carl Smith <carl.input@gmail.com> wrote:
Show 7 quoted lines
> 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`.