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