diff options
-rw-r--r-- | .gitignore | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -1,20 +1,14 @@ # Things in /srv/git directly to ignore /.??* -!.gitignore -!.gitconfig +!/.gitignore +!/.gitconfig # General files to ignore *~ *.sample -# Things in git repos to ignore -FETCH_HEAD -HEAD -branches -#config -#description -#hooks -#info -objects -packed-refs -refs +# Ignore most of the things in git repos +**/*.git/* +!**/*.git/config +!**/*.git/description +!**/*.git/hooks/ |