Skip to content

Commit

Permalink
I needed my top-level .gitignore file to ignore the contents of my $H…
Browse files Browse the repository at this point in the history
…OME directory, so I went back to naming my "core.excludesfile" .gitexcludes
  • Loading branch information
al-the-x committed Mar 15, 2012
1 parent c588341 commit 3e4439d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .gitconfig
@@ -1,5 +1,5 @@
[core]
excludesfile = ~/.gitignore
excludesfile = ~/.gitexcludes
[user]
name = David Rogers
email = david@ethos-development.com
Expand Down
20 changes: 20 additions & 0 deletions .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
23 changes: 5 additions & 18 deletions .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

0 comments on commit 3e4439d

Please sign in to comment.