1
0
mirror of https://github.com/github/gitignore synced 2024-11-27 22:24:21 +01:00
Commit Graph

2923 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
1fea76a08e Merge pull request #1285 from paolofulgoni/gradle-wrapper
Avoid ignoring Gradle wrapper jar file
2015-01-15 11:29:23 +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
Carl Suster
fdc78cd32d Merge pull request #1362 from stevelacy/master
Add .Trash-* to ignore Linux partition or ext disk trash folders
2015-01-14 11:55:05 +11:00
Carl Suster
edde2fcd95 Merge pull request #1359 from masgo/master
Update TeX.gitignore
2015-01-14 11:51:49 +11:00
Steve Lacy
586674cfb4 add .Trash-* to ignore Linux partition or ext disk trash folders 2015-01-13 15:31:58 -07:00
Rob
9fd651e00f Update TeX.gitignore
*.synctex is generated when the synctex option is used under Windows.
2015-01-13 09:40:43 +01:00
Michael Baltaks
37f888d5cd Ignore the pip self check marker file in a Virtualenv. 2015-01-10 17:49:44 +11:00
Sebastian Godelet
d0748cf9a4 Mercury.gitignore: Add Mercury.modules
The Mercury.modules file can be auto-generated by the Mercury compiler,
as such it appears only in Makefiles, and should therefore be ignored.
2015-01-09 13:06:58 +08:00
Carl Suster
6f8aee0564 Merge pull request #1311 from rafaelstz/patch-1
root sitemap.xml
2015-01-08 12:55:10 +11:00
Carl Suster
f6c017edc2 Merge pull request #1344 from tral/master
Built application files (for Android Studio projects)
2015-01-08 12:49:27 +11:00
Carl Suster
5130d9a506 Merge pull request #1349 from MOROZILnic/patch-1
Update VisualStudio.gitignore
2015-01-08 12:48:38 +11:00
tralchonok
45bf307ca7 moved 2015-01-07 19:40:23 +05:30
Carl Suster
19e774822b Merge pull request #1257 from sidewinder94/patch-1
Ignoring Pow environment settings (Rails)
2015-01-07 16:58:02 +11:00
Carl Suster
a69c4aafb7 Merge pull request #1303 from vladon/master
Added Castalia *.stat files
2015-01-07 16:54:53 +11:00
Carl Suster
3c36466ce4 Merge pull request #1288 from cake17/add-cakephp3
add rules for new CakePHP 3
2015-01-07 16:42:23 +11:00
Carl Suster
2a77fa433f Merge pull request #1286 from adamliter/master
Ignore some auxiliary files from knitr
2015-01-07 16:41:23 +11:00
Carl Suster
758848d4ae Merge pull request #1343 from jenrik/master
Ignore npm-debug.log
2015-01-07 16:35:36 +11:00
Carl Suster
1b2072a8cd Merge pull request #1253
Some visual Studio 6 specific file types. See documentation at:
http://msdn.microsoft.com/en-us/library/aa260829(v=vs.60).aspx
http://msdn.microsoft.com/en-us/library/aa239568(v=vs.60).aspx

Closes #1253 with amendments
2015-01-07 16:31:03 +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
7c24eebba9 Merge pull request #1308 from ovanschie/patch-1
Update for Magento 1.9.1
2015-01-07 16:17:11 +11:00
Carl Suster
29c7bc87c5 Merge pull request #1305 from carlodri/patch-1
Create IGORPro.gitignore
2015-01-07 16:09:54 +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
95a6bdab6a Merge pull request #1163 from ma499/nodejs-visualstudio
Ignore analysis files from Node.js tools for Visual Studio 2013
2015-01-07 15:34:23 +11:00
Carl Suster
f9a4711e47 Merge pull request #1226 from dmbaturin/master
Add ocamlbuild and oasis generated files to OCaml .gitignore
2015-01-07 15:25:21 +11:00
Carl Suster
4d3f69ab13 Merge pull request #1342 from adelq/master
Create Nim.gitignore
2015-01-07 15:24:24 +11:00
Carl Suster
e1d64cec0e Merge pull request #1346 from ldrumm/master
Added a .gitignore template for Lua based projects.
2015-01-07 15:21:13 +11:00
Carl Suster
9f1b7d77e2 Capitalise initial letter in template filenames for consistency/sorting 2015-01-07 15:16:27 +11:00
Carl Suster
6500aa8dc1 Merge pull request #1350 from julianpistorius/patch-1
Should "boostrap.json" be "bootstrap.json"?
2015-01-07 15:11:27 +11:00
Julian Pistorius
04d53334b8 Should "boostrap.json" be "bootstrap.json"?
And what about the other bootstrap.* files?
2015-01-06 17:11:00 -07:00
Matthias Viranyi
3a959fc2ae Update Unity.gitignore
And removes the last new line.
2015-01-05 14:27:24 +01:00
Matthias Viranyi
5409dc172d Update Unity.gitignore
Removes queried extensions.
2015-01-05 14:18:30 +01:00
MOROZILnic
f535820080 Update VisualStudio.gitignore
Ignoring *.cache as well as *.Cache
2015-01-04 22:17:12 +03:00
cake17
458355f1bf rearrange rules for CakePHP 2 2015-01-04 15:44:47 +01:00
Luke Drummond
b85372b2d8 Added a .gitignore template for Lua based projects.
Added common ignore globs for Lua, an extensible, high-performace, lightweight multi-paradigm language designed for embedded scripting.

    http://www.lua.org/about.html (More info at https://en.wikipedia.org/wiki/Lua_(programming_language) )

The de-facto package manager for Lua is LuaRocks.

   http://luarocks.org/

- LuaRocks creates a number of files as part of the build process.  These are ignored (*.src.rock, *.tar.gz, *.zip)
- Lua modules are conventionally written in C as shared libraries.  Common build artifacts for C projects copied from C.gitignore
2015-01-03 17:12:56 +00:00
tralchonok
45bc1aeeac # Built application files (for Android Studio projects) 2015-01-02 22:08:47 +05:30
Jenrik
3c1fc5972a Ignore npm-debug.log
Debug log from npm is now ignored
2015-01-02 01:38:25 +01:00
Adel Qalieh
a7601b9697 Create Nim.gitignore 2014-12-30 17:23:11 -05:00
Michiel Sikma
c9200696fb Update VirtualEnv.gitignore
Ignore .venv files created by virtualenvwrapper and virtualfish for auto-activation purposes.
2014-12-29 15:16:25 +01: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
Carl Suster
13f15a38f3 Merge pull request #1325 from aurmil/magento-modman
Ignore Magento .modman directory
2014-12-23 21:01:34 +11:00
Carl Suster
3ed4405a34 Merge pull request #1218 from bbodenmiller/patch-3
update comment on ignoring repositories.config
2014-12-23 11:56:45 +11:00
Carl Suster
69eccb80fd Merge pull request #1323 from aurmil/magento-root-files
Fix Magento PHP root files names patterns
2014-12-23 11:36:07 +11: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
Carl Suster
d299d9751a Merge pull request #1327 from lighght/patch-1
add ignore achemso bib file (acs-*.bib) to TeX.gitignore
2014-12-21 15:08:13 +11:00
lighght
27f949d77e Add ignore achemso aux file acs-<tex filename>.bib
Ignore acs-*.bib, an aux file generated by \documentclass{achemso} or by \usepackage{achemso}
2014-12-20 11:57:43 -05:00
Aurélien Millet
5b204a68b7 Ignore modman directory 2014-12-17 11:18:05 +01:00
Aurélien Millet
30b6549bfe fix magento root files
without leading slash, it ignores all files with these names (cron.php,
get.php, index.php, api.php), whereveer they are
2014-12-16 11:37:27 +01:00
Matthias Viranyi
80b400595b Adds forgotten UnityVS / VS2013 related solution files. 2014-12-12 14:26:12 +01:00