summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola git <git@parabola.nu>2014-12-20 21:20:21 +0000
committerParabola git <git@parabola.nu>2014-12-20 21:20:21 +0000
commit6f5b023b0dc9c1fe92ed7773a5dd13c1ec313a76 (patch)
treeea913c1e5720461827dff47da50a901f50d7caa6
parent02f53bb89cac507bbb07c031039c4ff3dce4e462 (diff)
Modify the .gitignore
-rw-r--r--.gitignore20
1 files changed, 7 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index e378210..a640121 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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/