From: Johannes Sixt Date: Wed, 31 Aug 2011 17:48:08 GMT Subject: Re: need to create new repository initially seeded with several branches Message-ID: <4E5E73D8.4040104@kdbg.org> In-Reply-To: <201108311540.p7VFen5S015756@no.baka.org> Am 31.08.2011 17:40, schrieb in-git-vger@baka.org: > # Cause git to delete all files in the internal index > git read-tree --reset -i 4b825dc642cb6eb9a060e54bf8d69288fbee4904 > # Cause git to delete all files in the working directory > git clean -dfx > ... > The only "magic" is the read-tree/git-clean stuff. The 4b82… value is > the SHA of an empty tree. It could be replaced by... ... a simple git rm -rf . -- Hannes