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

merge upstream/master

This commit is contained in:
Ivan Yatskevich 2013-11-12 14:32:18 +03:00
commit ba898ebefd
76 changed files with 481 additions and 222 deletions

View File

@ -12,19 +12,12 @@
bin/
gen/
# Ignore gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Eclipse project files
.classpath
.project
# Proguard folder generated by Eclipse
proguard/
# Intellij project files
*.iml
*.ipr
*.iws
.idea/

View File

@ -2,12 +2,20 @@
*.slo
*.lo
*.o
*.obj
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app

View File

@ -1,6 +1,8 @@
# Object files
*.o
*.ko
*.obj
*.elf
# Libraries
*.lib
@ -16,3 +18,4 @@
*.exe
*.out
*.app
*.hex

View File

@ -1,3 +1,34 @@
Since this repo includes a large and diverse number of programming languages, frameworks, editors, and ecosystems, it's *very helpful* if you can provide a link to information supporting your pull request. Up-to-date, canonical documentation that mentions the files to be ignored is best.
# Contributing guidelines
This ensures we can efficiently go through pull requests and keep quality high.
Wed love you to help us improve this project. To help us keep this collection
high quality, we request that contributions adhere to the following guidelines.
- **Provide a link to the application or projects homepage**. Unless its
extremely popular, theres a chance the maintainers dont know about or use
the language, framework, editor, app, or project your change applies to.
- **Provide links to documentation** supporting the change youre making.
Current, canonical documentation mentioning the files being ignored is best.
If documentation isnt available to support your change, do the best you can
to explain what the files being ignored are for.
- **Explain why youre making a change**. Even if it seems self-evident, please
take a sentence or two to tell us why your change or addition should happen.
Its especially helpful to articulate why this change applies to *everyone*
who works with the applicable technology, rather than just you or your team.
- **Please consider the scope of your change**. If your change specific to a
certain language or framework, then make sure the change is made to the
template for that language or framework, rather than to the template for an
editor, tool, or operating system.
- **Please only modify *one template* per pull request**. This helps keep pull
requests and feedback focused on a specific project or technology.
In general, the more you can do to help us understand the change youre making,
the more likely well be to accept your contribution quickly.
Please also understand that we cant list every tool that ever existed.
Our aim is to curate a collection of the *most common and helpful* templates,
not to make sure we cover every project possible. If we choose not to
include your language, tool, or project, its not because its not awesome.

View File

@ -3,3 +3,4 @@
*/logs/!index.html
*/cache/*
*/cache/!index.html
*/cache/!.htaccess

6
Composer.gitignore Normal file
View File

@ -0,0 +1,6 @@
composer.phar
vendor/
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock

View File

@ -1,4 +1,3 @@
*.vo
*.glob
*.v.d

View File

@ -1,4 +1,16 @@
.DS_Store
packages
// Dont commit the following files and directories created by pub, Dart Editor, and dart2js
packages/
.project
.buildlog
*.js_
*.js.deps
*.js.map
// Include when developing application packages
pubspec.lock
// Avoid committing generated JavaScript files
*.dart.js
// Check for any other incovenient files generated by OS
// and other tools such as Eclipse, IntelliJ, etc.

View File

@ -1,4 +0,0 @@
*.log
*.pot
*.pyc
local_settings.py

View File

@ -8,7 +8,6 @@ sites/*/files
sites/*/private
# Ignore default text files
.htaccess
robots.txt
/CHANGELOG.txt
/COPYRIGHT.txt
@ -22,6 +21,7 @@ sites/all/modules/README.txt
sites/all/themes/README.txt
# Ignore everything but the "sites" folder ( for non core developer )
.htaccess
web.config
authorize.php
cron.php

4
EPiServer.gitignore Normal file
View File

@ -0,0 +1,4 @@
######################
## EPiServer Files
######################
*License.config

View File

@ -8,6 +8,10 @@ images/member_photos/
images/signature_attachments/
images/pm_attachments/
# For security do not publish the following files
system/expressionengine/config/database.php
system/expressionengine/config/config.php
# Caches
sized/
thumbs/

2
Fancy.gitignore Normal file
View File

@ -0,0 +1,2 @@
*.rbc
*.fyc

View File

@ -11,4 +11,3 @@
# Some versions of Finale have a bug and randomly save extra copies of
# the music source as "<Filename> copy.mus"
*copy.mus

View File

@ -14,4 +14,3 @@ gwt-unitCache/
# more caches and things from deploy #
war/WEB-INF/deploy/
war/WEB-INF/classes/

View File

@ -9,6 +9,7 @@
*.bz2
*.xz
*.lzma
*.cab
#packing-only formats
*.iso
@ -21,3 +22,6 @@
*.egg
*.deb
*.rpm
*.msi
*.msm
*.msp

4
Global/BricxCC.gitignore Normal file
View File

@ -0,0 +1,4 @@
# Bricx Command Center IDE
# http://bricxcc.sourceforge.net
*.bak
*.sym

View File

@ -1,6 +1,6 @@
*.pydevproject
.project
.metadata
.gradle
bin/**
tmp/**
tmp/**/*
@ -9,7 +9,6 @@ tmp/**/*
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
@ -24,3 +23,6 @@ local.properties
# PDT-specific
.buildpath
# TeXlipse plugin
.texlipse

View File

@ -1,5 +0,0 @@
*.iml
*.ipr
*.iws
.idea/
.idea_modules/

View File

@ -0,0 +1,20 @@
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode
## Directory-based project format
.idea/
# if you remove the above rule, at least ignore user-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# and these sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
## File-based project format
*.ipr
*.iws
*.iml
## Additional for IntelliJ
out/

View File

@ -0,0 +1,2 @@
*.kdev4
.kdev4/

View File

@ -1,3 +1 @@
.*
!.gitignore
*~

View File

@ -0,0 +1,2 @@
# Notepad++ backups #
*.bak

View File

@ -1,8 +1,9 @@
.DS_Store
.AppleDouble
.LSOverride
Icon
# Icon must ends with two \r.
Icon
# Thumbnails
._*

View File

@ -1 +0,0 @@
.idea/

View File

@ -1,4 +0,0 @@
# PyCharm
# http://www.jetbrains.com/pycharm/webhelp/project.html
.idea
.iml

View File

@ -1 +0,0 @@
.idea/workspace.xml

View File

@ -1,2 +1,2 @@
### SASS Ignores - "Sassy CSS" http://sass-lang.com/
### Sass Ignores - "Sassy CSS" http://sass-lang.com/
*.sass-cache

View File

@ -5,3 +5,5 @@ target/
lib_managed/
src_managed/
project/boot/
.history
.cache

View File

@ -1,2 +1,6 @@
# SublimeText project files
# workspace files are user-specific
*.sublime-workspace
# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project

View File

@ -1,5 +1,14 @@
# Ignore tags created by etags and ctags
# Ignore tags created by etags, ctags, gtags (GNU global) and cscope
TAGS
!TAGS/
tags
!tags/
gtags.files
GTAGS
GRTAGS
GPATH
cscope.files
cscope.out
cscope.in.out
cscope.po.out

1
Global/Vagrant.gitignore Normal file
View File

@ -0,0 +1 @@
.vagrant/

View File

@ -7,3 +7,9 @@ Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp

View File

@ -1,4 +1,5 @@
*.s[a-w][a-z]
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist

View File

@ -20,3 +20,4 @@ _cgo_export.*
_testmain.go
*.exe
*.test

View File

@ -41,4 +41,3 @@
# other
*.iws

View File

@ -1,32 +0,0 @@
*.acn
*.acr
*.alg
*.aux
*.bbl
*.blg
*.dvi
*.fdb_latexmk
*.glg
*.glo
*.gls
*.idx
*.ilg
*.ind
*.ist
*.lof
*.log
*.lot
*.maf
*.mtc
*.mtc0
*.nav
*.nlo
*.out
*.pdfsync
*.ps
*.snm
*.synctex.gz
*.toc
*.vrb
*.xdy
*.tdo

View File

@ -2,5 +2,7 @@ pom.xml
*jar
/lib/
/classes/
/targets/
/target/
.lein-deps-sum
.lein-repl-history
.lein-plugins/

View File

@ -15,14 +15,18 @@ app/etc/modules/Enterprise_*
app/etc/modules/Find_Feed.xml
app/etc/modules/Mage_All.xml
app/etc/modules/Mage_Api.xml
app/etc/modules/Mage_Api2.xml
app/etc/modules/Mage_Authorizenet.xml
app/etc/modules/Mage_Bundle.xml
app/etc/modules/Mage_Captcha.xml
app/etc/modules/Mage_Centinel.xml
app/etc/modules/Mage_Compiler.xml
app/etc/modules/Mage_Connect.xml
app/etc/modules/Mage_CurrencySymbol.xml
app/etc/modules/Mage_Downloadable.xml
app/etc/modules/Mage_ImportExport.xml
app/etc/modules/Mage_LoadTest.xml
app/etc/modules/Mage_Oauth.xml
app/etc/modules/Mage_PageCache.xml
app/etc/modules/Mage_Persistent.xml
app/etc/modules/Mage_Weee.xml
@ -45,7 +49,7 @@ get.php
includes/
index.php
index.php.sample
install.php
/install.php
js/blank.html
js/calendar/
js/enterprise/
@ -78,10 +82,13 @@ LICENSE.txt
LICENSE_EE*
mage
media/customer/
media/dhl/
media/downloadable/
media/.htaccess
media/import/
media/xmlconnect/
media/catalog/product/cache/
nbproject/
pear
pear/

View File

@ -11,5 +11,4 @@ pids
logs
results
npm-debug.log
node_modules

View File

@ -1,6 +1,8 @@
# Xcode
# OS X
.DS_Store
*/build/*
# Xcode
build/
*.pbxuser
!default.pbxuser
*.mode1v3
@ -10,10 +12,10 @@
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
profile
*.moved-aside
DerivedData
.idea/
*.hmap
*.xccheckout

View File

@ -1,5 +1,5 @@
blib/
.build/
/blib/
/.build/
_build/
cover_db/
inc/
@ -7,10 +7,13 @@ Build
!Build/
Build.bat
.last_cover_stats
Makefile
Makefile.old
MANIFEST.bak
META.yml
MYMETA.yml
/Makefile
/Makefile.old
/MANIFEST.bak
/META.yml
/META.json
/MYMETA.*
nytprof.out
pm_to_blib
/pm_to_blib
*.o
*.bs

View File

@ -1,9 +1,3 @@
# Extracted from https://github.com/ulrich/macaron-factory/blob/master/.gitignore
# Ignore all dotfiles...
.*
# except for .gitignore
!.gitignore
# Ignore Play! working directory #
db
eclipse

View File

@ -1,4 +1,3 @@
*~
*.pyc
*.pyo
*.tmp*
@ -7,17 +6,7 @@
*.EGG
*.egg-info
*.EGG-INFO
*.kpf
*.swp
*.wpr
.*.cfg
.installed.cfg
.mr.developer.cfg
.hg/
.bzr/
.svn/
.project
.pydevproject
bin/
build/
develop-eggs/
@ -27,8 +16,3 @@ fake-eggs/
parts/
dist/
var/
# OSX
.DS_Store

7
Processing.gitignore Normal file
View File

@ -0,0 +1,7 @@
.DS_Store
applet
application.linux32
application.linux64
application.windows32
application.windows64
application.macosx

View File

@ -1,31 +1,34 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
# Distribution / packaging
bin/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
lib
lib64
__pycache__
*.egg
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
.tox/
.coverage
.tox
nosetests.xml
coverage.xml
# Translations
*.mo
@ -34,3 +37,7 @@ nosetests.xml
.mr.developer.cfg
.project
.pydevproject
# Django stuff:
*.log
*.pot

View File

@ -16,5 +16,6 @@
*.pro.user.*
moc_*.cpp
qrc_*.cpp
Makefile
ui_*.h
Makefile*
*-build-*

104
README.md
View File

@ -1,41 +1,79 @@
# A Collection of Useful .gitignore Templates
# A collection of `.gitignore` templates
That's what we're trying to build. Please contribute
by [forking][fk] and sending a [pull request][pr].
This is GitHubs collection of [`.gitignore`][man] file templates.
We use this list to populate the `.gitignore` template choosers available
in the GitHub.com interface when creating new repositories and files.
Also **please** only modify **one file** per commit. This'll
make merging easier for everyone.
For more information about how `.gitignore` files work, and how to use them,
the following resources are a great place to start:
Global gitignores (OS-specific, editor-specific) should go into the
`Global/` directory.
- The [Ignoring Files chapter][chapter] of the [Pro Git][progit] book.
- The [Ignoring Files article][help] on the GitHub Help site.
- The [gitignore(5)][man] manual page.
For more information on gitignore: [gitignore(5)][g5]
[man]: http://git-scm.com/docs/gitignore
[help]: https://help.github.com/articles/ignoring-files
[chapter]: http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files
[progit]: http://git-scm.com/book
[fk]: http://help.github.com/forking/
## Folder structure
The files in the root directory are for `.gitignore` templates that are
project specific, such as language or framework specific templates.
Global (operating system or editor specific) templates should go into the
[`Global/`](./Global) directory.
## Contributing guidelines
Wed love you to help us improve this project. To help us keep this collection
high quality, we request that contributions adhere to the following guidelines.
- **Provide a link to the application or projects homepage**. Unless its
extremely popular, theres a chance the maintainers dont know about or use
the language, framework, editor, app, or project your change applies to.
- **Provide links to documentation** supporting the change youre making.
Current, canonical documentation mentioning the files being ignored is best.
If documentation isnt available to support your change, do the best you can
to explain what the files being ignored are for.
- **Explain why youre making a change**. Even if it seems self-evident, please
take a sentence or two to tell us why your change or addition should happen.
Its especially helpful to articulate why this change applies to *everyone*
who works with the applicable technology, rather than just you or your team.
- **Please consider the scope of your change**. If your change specific to a
certain language or framework, then make sure the change is made to the
template for that language or framework, rather than to the template for an
editor, tool, or operating system.
- **Please only modify *one template* per pull request**. This helps keep pull
requests and feedback focused on a specific project or technology.
In general, the more you can do to help us understand the change youre making,
the more likely well be to accept your contribution quickly.
Please also understand that we cant list every tool that ever existed.
Our aim is to curate a collection of the *most common and helpful* templates,
not to make sure we cover every project possible. If we choose not to
include your language, tool, or project, its not because its not awesome.
## Contributing workflow
Heres how we suggest you go about proposing a change to this project:
1. [Fork this project][fork] to your account.
2. [Create a branch][branch] for the change you intend to make.
3. Make your changes to your fork.
4. [Send a pull request][pr] from your forks branch to our `master` branch.
Using the web-based interface to make changes is fine too, and will help you
by automatically forking the project and prompting to send a pull request too.
[fork]: http://help.github.com/forking/
[branch]: https://help.github.com/articles/creating-and-deleting-branches-within-your-repository
[pr]: http://help.github.com/pull-requests/
[g5]: http://man.cx/gitignore
## Pull Requests
## License
Since this repo includes a large and diverse
number of programming languages, frameworks, editors,
and ecosystems, it's **very helpful** if you can provide
a link to information supporting your pull request.
Up-to-date, canonical documentation that mentions the files
to be ignored is best.
This ensures we can efficiently go through pull requests
and keep quality high.
## Global Ignores
git has a global configuration that applies rules to all of
your projects. For example:
git config --global core.excludesfile ~/.global_ignore
... will apply the rules in ~/.global_ignore for all of your repos.
This is useful if you use an editor (like Emacs) that drops backup files,
or if you work in an environment that generates binary or intermediate
files that are always ignored.
[MIT](./LICENSE).

View File

@ -3,17 +3,23 @@
.sass-cache
capybara-*.html
.rspec
.rvmrc
/.bundle
/vendor/bundle
/log/*
/tmp/*
/log
/tmp
/db/*.sqlite3
/public/system/*
/public/system
/coverage/
/spec/tmp/*
/spec/tmp
**.orig
rerun.txt
pickle-email-*.html
.project
config/initializers/secret_token.rb
## Environment normalisation:
/.bundle
/vendor/bundle
# these should all be checked in to normalise the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

View File

@ -1,18 +1,29 @@
*.gem
*.rbc
.bundle
.config
coverage
InstalledFiles
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/test/tmp/
/test/version_tmp/
/tmp/
# YARD artifacts
.yardoc
_yardoc
doc/
## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/
## Environment normalisation:
/.bundle/
/lib/bundler/man/
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

20
RubyMotion.gitignore Normal file
View File

@ -0,0 +1,20 @@
.dat*
.repl_history
build/
tags
# Editor files
.DS_Store
nbproject
.redcar
*.swp
*.swo
~
.eprj
vendor/Pods
*.nib
# YARD artifacts
.yardoc
_yardoc
doc/

View File

@ -2,6 +2,9 @@
*.log
# sbt specific
.cache/
.history/
.lib/
dist/*
target/
lib_managed/

View File

@ -6,4 +6,3 @@
*.rel
*.rst
*.sym

View File

@ -11,3 +11,6 @@ web/bundles/*
# Configuration files
app/config/parameters.ini
app/config/parameters.yml
# Composer
composer.phar

78
TeX.gitignore Normal file
View File

@ -0,0 +1,78 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
## Intermediate documents:
*.dvi
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex.gz
*.pdfsync
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# amsthm
*.thm
# beamer
*.nav
*.snm
*.vrb
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
# hyperref
*.brf
# listings
*.lol
# makeidx
*.idx
*.ilg
*.ind
*.ist
# minitoc
*.maf
*.mtc
*.mtc0
# minted
*.pyg
# nomencl
*.nlo
# todonotes
*.tdo
# xindy
*.xdy

View File

@ -1,4 +1,4 @@
## Typo3
## TYPO3 v4
# Ignore serveral upload and file directories.
/fileadmin/user_upload/
/fileadmin/_temp_/
@ -12,7 +12,7 @@
/typo3conf/localconf_local.php
# Ignore system folders, you should have them symlinked.
# If not comment out the following two entries.
/typo3/
/t3lib/
/typo3
/t3lib
# Ignore temp directory.
/typo3temp/

View File

@ -3,6 +3,8 @@
[Oo]bj/
# Autogenerated VS/MD solution and project files
*.csproj
*.unityproj
*.sln
/*.csproj
/*.unityproj
/*.sln
/*.suo
/*.user

View File

@ -7,11 +7,11 @@
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
build/
bld/
[Bb]in/
[Oo]bj/
@ -22,8 +22,13 @@ build/
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
#NUNIT
*.VisualState.xml
TestResult.xml
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
@ -43,7 +48,7 @@ build/
*.vssscc
.builds
*.pidb
*.log
*.svclog
*.scc
# Visual C++ cache files
@ -59,12 +64,16 @@ ipch/
*.vsp
*.vspx
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
@ -74,6 +83,7 @@ _TeamCity*
# NCrunch
*.ncrunch*
_NCrunch_*
.*crunch*.local.xml
# Installshield output folder
@ -94,14 +104,14 @@ publish/
# Publish Web Output
*.Publish.xml
*.pubxml
*.azurePubxml
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
csx/
*.build.csdef
# Windows Store app package directory
@ -115,6 +125,7 @@ ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.[Pp]ublish.xml
*.pfx
*.publishsettings
@ -133,6 +144,14 @@ UpgradeLog*.htm
App_Data/*.mdf
App_Data/*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# =========================
# Windows detritus
# =========================

View File

@ -1,5 +1,4 @@
.htaccess
wp-config.php
wp-content/uploads/
wp-content/blogs.dir/
wp-content/upgrade/

View File

@ -1,3 +1,6 @@
assets/
protected/runtime/
assets/*
!assets/.gitignore
protected/runtime/*
!protected/runtime/.gitignore
protected/data/*.db
themes/classic/views/

View File

@ -3,4 +3,3 @@ LICENSE.txt
README.txt
demos/
extras/documentation

View File

@ -5,3 +5,6 @@ output/
# Temporary file directory
tmp/
# Crash Log
crash.log