Re: Copying Git repository from Linux to Windows.
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jun 16, 2011, 08:50 UTC
- Message-ID
- <4DF9C3BA.8010106@viscovery.net>
- In-Reply-To
- <4DF97998.7070604@st.com>
Am 6/16/2011 5:33, schrieb viresh kumar:
> And i wanted just linux source on windows, i will not be creating any patches from > windows. Just needed code for reference.
If you only want to peek into the files, you don't need the files checked out. Just have them in a bare repository and use, e.g.,
git show master:mm/vmalloc.c
You can also use a sparse checkout to omit the questionable files from the checkout. See man git-read-tree.
-- Hannes