With git clone
there is the option -n
wich prevents a checkout of HEAD
after the repository is cloned. Is there a possibility to do this manually?
Edit I think the option -n
reads better in the manual than it actually is: After cloning with -n
all my tools show that I still reside on the master branch; the only difference being that all files are shown as deleted. It’s not really the same situation that I would call ‘not checked out’.
So maybe I should just delete HEAD
?