Re: "strip" the repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 20, 2007 at 09:28:02PM CEST, Yakov Lerner wrote:
> I am curious, if I remove all files and dirs (except .git),
> and index, will it make it a valid bare repo ?
> Or switching the repo from non-bare to bare is difficult ?

Yes, just removing everything except .git and .git/index (optionally)
will work fine to create a bare repository. Maybe a simpler way (but
more expensive) is to git clone --bare the repository.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Ever try. Ever fail. No matter. // Try again. Fail again. Fail better.
		-- Samuel Beckett
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]