Hacker News new | ask | show | jobs
by nathansizemore 3697 days ago
Thanks! Yeah, only a few days into using emacs. I keep forgetting about those files.
1 comments

Just use this as your .gitignore file for every project https://github.com/github/gitignore/blob/master/Global/Emacs...
Really such editor-related gitignore entries should go in the user's core.excludesfile, not repository's .gitignore

Its unlikely that anyone would try to make a file that conflicts with an editor-related gitignore entry, but it's nice to have the .gitignore file cleanly delineate exactly what garbage the build system and application create, without being cluttered up with entries for every editor that any developer might ever use.

http://stackoverflow.com/questions/7335420/global-git-ignore