1 2 3 4 5 6 7 8 9 10 11 12 13 14
# Things in /srv/git directly to ignore /.??* !/.gitignore !/.gitconfig # General files to ignore *~ *.sample # Ignore most of the things in git repos **/*.git/* !**/*.git/config !**/*.git/description !**/*.git/hooks/