Skip to content

Instantly share code, notes, and snippets.

@Nooby
Created February 5, 2011 21:09
Show Gist options
  • Save Nooby/812790 to your computer and use it in GitHub Desktop.
Save Nooby/812790 to your computer and use it in GitHub Desktop.
Global Git Ignore File for Linux/Eclipse/PyDev.
##########################
#Linux Specific GitIgnore#
##########################
.*
!.gitignore
*~
*.sw[a-p]
# KDE
.directory
############################
#Eclipse Specific GitIgnore#
############################
*.pydevproject
.project
.metadata
bin/**
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# CDT-specific
.cproject
@Nooby
Copy link
Author

Nooby commented Feb 5, 2011

How to use

Save the file in your Home Directory and execute the following command in the Shell:

git config --global core.excludesfile ~/.gitignore

@robyn-kozierok
Copy link

Thank You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment