From: viresh kumar Date: Thu, 16 Jun 2011 08:55:19 GMT Subject: Re: Copying Git repository from Linux to Windows. Message-ID: <4DF9C4F7.6020305@st.com> In-Reply-To: <4DF9C3BA.8010106@viscovery.net> On 06/16/2011 02:20 PM, Johannes Sixt wrote: > 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. Thanks. I am doing it this way only. -- viresh