init: document dotfiles exclusion on template copy
commit133f0a299da937d0a77a19a274c7730b2af5bf9c
authorGrégoire Paris <gregoire.paris.greg0ire@gmail.com>
Fri, 17 Feb 2017 23:37:00 +0000 (18 00:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Feb 2017 23:57:21 +0000 (17 15:57 -0800)
treef3c94ca3e19204a5054acebf048f8cb8588d9ea5
parent3b9e3c2cede15057af3ff8076c45ad5f33829436
init: document dotfiles exclusion on template copy

Not just . and .., but any path that begins with dot is not copied
when copying the template directory to a new repository.  You can
customize the template directory, copying some dotfiles might make
sense, but it's actually a good thing not to, because you would not
want to have your git directory copied in every git directory that
is created should you decide to put your template directory under
version control, for example.  Plus, it might be used as a feature
by people who would want to exclude some files.

Signed-off-by: Grégoire Paris <postmaster@greg0ire.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-init.txt