Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore *~ files such as generated by Emacs and other editors. #25

Closed
wants to merge 1 commit into from

Conversation

marnen
Copy link
Contributor

@marnen marnen commented Apr 8, 2013

Since many text editors create files named with a ~ suffix as temp files, I created a rudimentary .gitignore file to ignore these files, as is common practice.

@dstillman
Copy link
Member

You can set your own ignores, globally or locally, in your own Git config files. There's no reason this particular repo needs this to be set for everyone.

@dstillman dstillman closed this Apr 8, 2013
@marnen
Copy link
Contributor Author

marnen commented Apr 8, 2013

@dstillman I'm well aware of local Git exclusion. But it's common practice on every other project I've worked on to have a global .gitignore file with certain files that everyone would want to ignore. I believe this should be in the repo so that everyone doesn't have to set it. Anyway, this pull request is now superseded by #26 (which I made before seeing your comment here).

@dstillman
Copy link
Member

Excluding files actually generated by the project (as in #26) is fine. But there's no need for the project's .gitignore to deal with people's own editor-generated files, which they can exclude for all their repos if they use such an editor.

@marnen
Copy link
Contributor Author

marnen commented Apr 8, 2013

Excellent point.

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

Successfully merging this pull request may close these issues.

None yet

2 participants