Skip to content
  • Grégoire Paris's avatar
    init: document dotfiles exclusion on template copy · 133f0a29
    Grégoire Paris authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    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: default avatarGrégoire Paris <postmaster@greg0ire.fr>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    133f0a29