Daniel Barkalow wrote:
Maybe "git --work-tree=. clone <remote>"? It currently complains about the
directory existing, but we could have a flag to override that. And this
ends up with a sort of neat arrangement where your home directory is "Not
a git repository", but if you go into the subdirectory that has the repo
files, you can do all the usual stuff. This helps to avoid the case where
you forget to do "git init" in a new project and accidentally check things
into your dotfiles.
-Daniel
That sounds cumbersome.
-hpa
--
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