Some friendly comments in .gitignore
authorSteve Youngs <steve@sxemacs.org>
Sat, 6 Nov 2010 05:13:56 +0000 (15:13 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sat, 6 Nov 2010 05:13:56 +0000 (15:13 +1000)
* .gitignore: Add some comments and a header to say that we only
want a single .gitignore in this repo, and how to test changes
made to it.  Also, add a couple of tla-isms.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
.gitignore

index 624719e..de6b929 100644 (file)
@@ -1,8 +1,21 @@
-.latest.template
-.release.template
-.topnews.template
+####
+# This file is used to ignore certain files in the repo, such as
+# anything that is generated by the build, etc.
+#
+# The SXEmacs website repo uses a single .gitignore, so please DO NOT
+# add any .gitignore files to any of the sub directories.
+#
+# NOTE! Please use 'git ls-files -i --exclude-standard' command after
+# changing this file, to see if there are any tracked files which get
+# ignored after the change.
+####
+
+## These are kept updated from hooks in another repo
+.*.template
 changes/ChangeLog
 changes/ChangeLog
-docs/cl
+rss
+
+## These are maintained by hand
 docs/custom
 docs/dso
 docs/extwidget
 docs/custom
 docs/dso
 docs/extwidget
@@ -14,5 +27,13 @@ docs/sppm
 docs/sxemacs
 docs/term
 docs/widget
 docs/sxemacs
 docs/term
 docs/widget
+
+## Steve's hosting provider keeps adding these zero-length files
 favicon.*
 favicon.*
-rss
+
+## Old tla habits are hard to break
+,,*
+++*
+
+## Exceptions
+!Images/favicon.png