1
0
mirror of https://github.com/github/gitignore synced 2024-12-27 15:20:16 +01:00

315 Commits

Author SHA1 Message Date
Carl Suster
8bc0e535bb Merge Pull Request #1338 for Eclipse
Fixes #1217.

Once again ignore .classpath and .project in the Eclipse template. This has
been requested in multiple PRs such as #1338 and #1221 and is essentially a
reversion of #805. I copy the explanation for this change from the discussion
in #1217 by @segfly:

*In short*:

I can't point to any counter-documentation off the top of my head. I just know
from experience these files pollute a project's repo without adding value
- that is, unless everyone contributing is using Eclipse and no-one is using
dependency management. And even then, the guidance provided by the eclipse docs
is bad advice.

*In Long*:

The .classpath file is used by Eclipse to maintain the project's classpath
during automatic compile (every save of a file). In the olden days, one would
manually configure the project within the Eclipse UI and include all the
dependent jars necessary to compile your project. Eclipse then wrote that
configuration out to the .classpath file.

In theory, this file could be shared with others so they did not have to
manually configure their eclipse classpath. In practice, I never saw it work
out quite so well due to eventual bloating of the classpath with needless jars
or jars that only existed on one person's machine. Mind you, many people back
then also used to check their dependent jars into version control along with
their source.

Dependency management tools like Gradle and Maven have done away with all that
of course. But they also integrate nicely with Eclipse and manage the project
classpath dynamically. The .classpath file is basically rebuilt based on
changes to the build.gradle file or pom.xml file. Effectively, this renders the
whole point of checking in the .classpath moot as it is easily rebuilt by the
Maven or Gradle plugin.

The .project file is another animal completely. It basically describes what
plugins should be applied to the project as configured in the Eclipse UI. Again
the theory is it could be shared and creates a happy world. But due to
different eclipse versions people may have, different plugins installed, etc.
sharing the .project file actually causes more issues. And I've seen many
projects unable to open due to a bad .project file - requiring one to delete it
anyway (which then of course, when someone recreates it, they inevitably check
it in over the old one and end up breaking someone else's environment).

The bottom line is, regardless of what the eclipse documentation says, these
are very much internal configuration files for eclipse and best left out of
a repo.
2015-01-15 11:41:35 +11:00
Carl Suster
ce6ed14496 Merge pull request #1306 from Hillkorn/patch-1
Added missing gradle netbeans directory
2015-01-14 12:17:31 +11:00
Carl Suster
ecaf2de8fa Merge pull request #1353 from mbaltaks/patch-1
Ignore the pip self check marker file in a Virtualenv.
2015-01-14 12:11:40 +11:00
Steve Lacy
586674cfb4 add .Trash-* to ignore Linux partition or ext disk trash folders 2015-01-13 15:31:58 -07:00
Michael Baltaks
37f888d5cd Ignore the pip self check marker file in a Virtualenv. 2015-01-10 17:49:44 +11:00
Carl Suster
f84293b9ce Merge pull request #1333 from adamrights/feature/redis
Add a global redis ignore file.
2015-01-07 16:18:53 +11:00
Carl Suster
72d6f2cf84 Merge pull request #1312 from rogersuen/global-jdev
Global JDeveloper.gitignore
2015-01-07 16:08:04 +11:00
Carl Suster
9f1b7d77e2 Capitalise initial letter in template filenames for consistency/sorting 2015-01-07 15:16:27 +11:00
Nicholas Pace
b4f1a94691 Added Eclipse JDT .classpath file, and the Eclipse core .project file to
template
2014-12-26 22:23:09 -05:00
bedella
cfd038734d Add a global redis ignore file.
Ignores all .rdb files, (default: dump.rdb).

These files contain a binary representation of the in-memory
redis data that is generated using cli tools or on a redis
failure.

They can be used to restore a redis db, and may contain
sensitive data so should not be saved in version control.
2014-12-22 17:08:52 -05:00
Roger Suen
e2de441a3e doc JDeveloper.gitignore 2014-12-10 06:50:42 +08:00
Roger Suen
d9dfd076c9 added depoy/ and javadoc/ to JDeveloper.gitignore 2014-12-10 06:21:26 +08:00
Dennis Schumann
fcc66a0ac8 Added missing gradle netbeans directory 2014-12-04 17:43:52 +01:00
Djones Boni
0b421ba8db Move LibreOffice.gitignore to /Global 2014-11-22 20:22:52 -02:00
Carl Suster
986530f3e0 Merge pull request #1261 from jaxx/master
Ignore debug information files
2014-11-12 18:43:22 +11:00
Carl Suster
530bca8290 Merge pull request #1267 from rogersuen/global-jdev
added JDeveloper.gitignore
2014-11-12 18:30:24 +11:00
Carl Suster
16053ba600 Merge pull request #1264 from arteymix/master
Added a gitignore for Anjuta IDE http://anjuta.org/
2014-11-08 12:36:47 +11:00
Guillaume Poirier-Morency
8bdd66a95d Ignore the symbole database which is a generated binary file. 2014-11-07 14:09:57 -05:00
Carl Suster
6d91b087d2 Merge pull request #1225 from thurask/momentics
Add user-specific settings to Momentics.gitignore
2014-11-06 14:18:50 +11:00
Carl Suster
85428a7fe6 Merge pull request #1259 from Kaceykaso/patch-1
Create CodeKit.gitignore
2014-11-06 14:09:29 +11:00
Ben Bodenmiller
740274428e Create MicrosoftOffice
Continuation of https://github.com/github/gitignore/pull/594/ and details from http://support.microsoft.com/kb/211632
2014-11-05 18:09:27 -08:00
Roger Suen
4d47a1ed98 added JDeveloper.gitignore 2014-10-27 11:05:54 +08:00
Guillaume Poirier-Morency
3c19923314 Added a gitignore for Anjuta IDE http://anjuta.org/ 2014-10-25 14:03:48 -04:00
jaxx
487c4257fc Update Lazarus.gitignore 2014-10-24 16:34:24 +03:00
Kacey Coughlin
622a331692 Create CodeKit.gitignore 2014-10-21 14:59:29 -07:00
Carl Suster
408c616ae0 Merge pull request #1232 from thunsaker/patch-1
Added New Files created by Crashlytics Plugin
2014-10-20 17:47:22 +11:00
Thomas Hunsaker
44d16a3050 Another tweak 2014-10-19 22:43:15 -07:00
Thomas Hunsaker
d9d60deaf0 Minor tweaks 2014-10-19 22:41:27 -07:00
Carl Suster
4da8043524 Merge pull request #1251 from tomsquest/master
Ignore iml file anywhere
2014-10-20 12:55:21 +11:00
Carl Suster
d13e68a669 Merge pull request #1248 from iori-o/emacs_cask
Adding .cask directory to Global/Emacs.gitignore
2014-10-20 12:35:23 +11:00
Carl Suster
09125b338a Merge pull request #1252 from paolofulgoni/tortoisegit
Create TortoiseGit.gitignore
2014-10-20 12:32:28 +11:00
Paolo Fulgoni
abafa2d26f Create TortoiseGit.gitignore 2014-10-17 14:17:08 +02:00
Thomas Queste
a7e4e3af05 Ignore iml file anywhere
Intellij's iml file can be anywhere on the path.
This is true for multi-module maven project where each module has its own $projectName.iml file in its own directory.
2014-10-16 15:53:23 +02:00
leandrodeleite
ca4a3db967 Remove trailing space 2014-10-15 12:41:48 -03:00
Iori ONDA
8b37dbd824 Adding .cask directory to Global/Emacs.gitignore 2014-10-15 16:06:43 +09:00
Thomas Hunsaker
0b51b6e485 Added New Files created by Crashlytics Plugin
These are relatively new, the crashlytics.properties file contains the secret and can [alternatively](https://plus.google.com/+AntonioBertucci/posts/S9krjvXfgfm) contain the apikey to rid your repo of the extra strings file.
2014-09-29 23:47:10 -07:00
thurask
2201df76be Add user-specific settings to Momentics.gitignore
The .settings folder contains all of the user-specific preferences for Momentics (like it does for Eclipse, since they're the same underneath). Should be local only.
2014-09-23 01:07:37 -04:00
Ricardo Fuhrmann
6563b1ae81 Typo in Jetbrains gitignore 2014-09-17 09:13:03 -04:00
Carl Suster
98766b326c Merge pull request #1208 from mstrcnvs/patch-1
Adding new file generated by the built-in venv module in Python 3
2014-09-15 12:02:46 +10:00
thurask
52d61fc032 Add compiled translations to Momentics.gitignore
This .gitignore now ignores everything that build clean gets rid of
2014-09-13 01:56:41 -04:00
Rafael Canovas
d0c43882ea Adding new file rule generated by the built-in venv module in Python 3
As described on https://docs.python.org/dev/library/venv.html#creating-virtual-environments
2014-09-11 17:30:27 -03:00
Carl Suster
5a339cce0d Merge pull request #1193 from github/remove-quartus2
[Global/Quartus2] Remove template
2014-09-11 11:21:37 +10:00
Glaived
a30beca8ba Remove *.pyc 2014-09-01 17:24:30 +02:00
Glaived
e72ab2ab34 Merge branch 'master' of https://github.com/github/gitignore 2014-09-01 17:22:58 +02:00
Carl Suster
a59d160837 Remove Quartus2 template
The template hasn't been touched since it was added to this collection.
There are some problems with it - mainly that it's hard to know if these
rules are all still relevant, and the large prose block is probably more
confusing than helpful here.
2014-09-02 00:23:10 +10:00
Carl Suster
765ec99d49 Merge branch 'fix-1165' 2014-09-01 14:58:35 +10:00
Carl Suster
57f117945e Tidy up the JetBrains comments
Amends #1165
2014-09-01 14:56:15 +10:00
malheleco
c3751cac16 add shortcut files 2014-08-21 20:45:30 +02:00
gazebodude
1f6d881044 Create LyX.gitignore
Ignores *.lyx~ (crash recovery) and *.lyx# (timed autosave) files generated by LyX - the document processor.
2014-08-19 14:11:11 +10:00
Carl Suster
4e273aea2a Merge pull request #1105 from thurask/momentics
Create Momentics.gitignore
2014-08-15 23:47:55 +10:00