Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

I needed my top-level .gitignore file to ignore the contents of my $H…

…OME directory, so I went back to naming my "core.excludesfile" .gitexcludes
  • Loading branch information...
commit 3e4439d462bdd475bbb811b92bf9c875347b23af 1 parent c588341
@al-the-x authored
Showing with 26 additions and 19 deletions.
  1. +1 −1  .gitconfig
  2. +20 −0 .gitexcludes
  3. +5 −18 .gitignore
View
2  .gitconfig
@@ -1,5 +1,5 @@
[core]
- excludesfile = ~/.gitignore
+ excludesfile = ~/.gitexcludes
[user]
name = David Rogers
email = david@ethos-development.com
View
20 .gitexcludes
@@ -0,0 +1,20 @@
+## Mac metadata
+.DS_Store
+
+## Subversion metadata
+.svn/
+
+## Vim metadata
+*.sw[po]
+*.vim
+
+## Eclipse metadata
+.buildpath
+.project
+.settings
+
+## Python compiled/optimized
+*.py[co]
+
+## Apache metadata (project-level only)
+/.htaccess
View
23 .gitignore
@@ -1,20 +1,7 @@
-## Mac metadata
-.DS_Store
+## Any kind of history files: .bash_history, .mysql_history, etc.
+.*[-_]history
+.*hst
-## Subversion metadata
-.svn/
+## Any subdirectory of $HOME
+*/
-## Vim metadata
-*.sw[po]
-*.vim
-
-## Eclipse metadata
-.buildpath
-.project
-.settings
-
-## Python compiled/optimized
-*.py[co]
-
-## Apache metadata (project-level only)
-/.htaccess
Please sign in to comment.
Something went wrong with that request. Please try again.