Commits

Anonymous committed 75d475a

Added git ignore

Comments (0)

Files changed (3)

+[core]
+	excludesfile = /home/kchida/dot-files/.gitignore_global

.gitignore_global

+*.pyc
+*.un~
+*.swp
+/.git/
+# For virtualenv directory in Django project folder. Change if name conflicts.
+/env/
+
+# Compiled source #
+# ###################
+# *.com
+# *.class
+# *.dll
+# *.exe
+# *.o
+# *.so
+#
+# # Packages #
+# ############
+# # it's better to unpack these files and commit the raw source
+# # git has its own built in compression methods
+# *.7z
+# *.dmg
+# *.gz
+# *.iso
+# *.jar
+# *.rar
+# *.tar
+# *.zip
+#
+# # Logs and databases #
+# ######################
+# *.log
+# *.sql
+# *.sqlite
+#
+# # OS generated files #
+# ######################
+# .DS_Store*
+# ehthumbs.db
+# Icon?
+# Thumbs.db
   does not support relative paths; therefore, the path to .hgignore is hard coded to
   ~/dot-files/.hgignore.  This should not be problematic as long as the name of this
   repo (and directory) remains the same.
+- Likewise, .gitconfig belongs in $HOME but it references the .gitignore_global file
+  which is in ~/dot-files/.  Make sure to change .gitconfig if moving this file to
+  another machine with different user name.