Clone bare git
Found an interesting option to clone a git repository. Honestly, speaking I have no idea how it could be usefult because it does not actually do a checkout of the HEAD. Anyways, if you run:
git clone --bare git://github.com/andhapp/decoct.git
then you will have the following directory structure which is quite similar to what’s in your project’s .git folder.
-- decoct.git -- HEAD -- config -- description -- hooks -- info -- objects -- packed-refs -- refs
This is what the doc has to say:
--bare : Make a bare GIT repository. That is, instead of creating
This is exacly what it does but how would this be useful puzzles me.