From: Simon Ruderich Date: Fri, 29 Aug 2008 19:06:24 +0000 (+0200) Subject: Added ignore files for git and mercurial. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=96ed5be590e78a88ec31837dd39c993a8a623ca0;p=config%2Fdotfiles.git Added ignore files for git and mercurial. --- diff --git a/gitconfig b/gitconfig index 97af095..d19ac75 100644 --- 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 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 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 5c06fd6..79c2086 100644 --- a/hgrc +++ b/hgrc @@ -3,6 +3,7 @@ [ui] username = Simon Ruderich +ignore = ~/.hgignore # Use git diffs with support for renames, binaries, access rights, etc. [diff]