From 96ed5be590e78a88ec31837dd39c993a8a623ca0 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 29 Aug 2008 21:06:24 +0200 Subject: [PATCH 1/1] Added ignore files for git and mercurial. --- gitconfig | 2 ++ gitignore | 20 ++++++++++++++++++++ hgignore | 22 ++++++++++++++++++++++ hgrc | 1 + 4 files changed, 45 insertions(+) create mode 100644 gitignore create mode 100644 hgignore 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] -- 2.44.2