Re: need to create new repository initially seeded with several branches
Am 31.08.2011 17:40, schrieb in-git-vger@baka.org:
Show 7 quoted lines
> # 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