]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Added ignore files for git and mercurial.
authorSimon Ruderich <simon@ruderich.com>
Fri, 29 Aug 2008 19:06:24 +0000 (21:06 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 29 Aug 2008 19:06:24 +0000 (21:06 +0200)
gitconfig
gitignore [new file with mode: 0644]
hgignore [new file with mode: 0644]
hgrc

index 97af095c5946c09f92f7126a22bb70be23f48170..d19ac75aa6b4cf1874e879b2be2a1c6e7b428363 100644 (file)
--- a/gitconfig
+++ b/gitconfig
@@ -3,3 +3,5 @@
        email = simon@ruderich.com
 [color]
        diff = auto
+[core]
+       excludesfile = /Users/simonruderich/.gitignore
diff --git a/gitignore b/gitignore
new file mode 100644 (file)
index 0000000..d244444
--- /dev/null
+++ b/gitignore
@@ -0,0 +1,20 @@
+# Global git ignore file.
+
+
+# Ignore Mac OS X files.
+.DS_Store
+
+# Don't track compiled object files and libraries.
+*.o
+*.dylib
+
+# Ignore Vim files.
+*.swp
+Session.vim
+
+# Ignore Python files.
+*.pyc
+
+# Ignore mercurial and svn files.
+.hg
+.svn
diff --git a/hgignore b/hgignore
new file mode 100644 (file)
index 0000000..771772d
--- /dev/null
+++ b/hgignore
@@ -0,0 +1,22 @@
+# Global mercurial ignore file.
+
+syntax: glob
+
+
+# Ignore Mac OS X files.
+.DS_Store
+
+# Don't track compiled object files and libraries.
+*.o
+*.dylib
+
+# Ignore Vim files.
+*.swp
+Session.vim
+
+# Ignore Python files.
+*.pyc
+
+# Ignore git and svn files.
+.git
+.svn
diff --git a/hgrc b/hgrc
index 5c06fd6cbd65a431b7ccde41bcf35fc2a0959d71..79c2086da04b8a33c4a6894f121c9d0c3abbfb5f 100644 (file)
--- a/hgrc
+++ b/hgrc
@@ -3,6 +3,7 @@
 
 [ui]
 username = Simon Ruderich <simon@ruderich.com>
+ignore = ~/.hgignore
 
 # Use git diffs with support for renames, binaries, access rights, etc.
 [diff]