Hacker News new | ask | show | jobs
by dengnan 3689 days ago
Nice work! But you may want to remove src/#lib.rs# :)
1 comments

Thanks! Yeah, only a few days into using emacs. I keep forgetting about those files.
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