Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
wants to merge 1 commit into from

2 participants

@marnen

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
Owner

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
@marnen

@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
Owner

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

Excellent point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  .gitignore
View
1  .gitignore
@@ -0,0 +1 @@
+*~
Something went wrong with that request. Please try again.