提交 412d6907 编写于 作者: N Nick Hodges

Merging upstream

...@@ -8,4 +8,4 @@ bin-release/ ...@@ -8,4 +8,4 @@ bin-release/
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` # Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
# should NOT be excluded as they contain compiler settings and other important # should NOT be excluded as they contain compiler settings and other important
# information for Eclipse / Flash Builder. # information for Eclipse / Flash Builder.
\ No newline at end of file
# Object file
*.o
# Ada Library Information
*.ali
\ No newline at end of file
...@@ -12,19 +12,12 @@ ...@@ -12,19 +12,12 @@
bin/ bin/
gen/ gen/
# Ignore gradle files
.gradle/
build/
# Local configuration file (sdk path, etc) # Local configuration file (sdk path, etc)
local.properties local.properties
# Eclipse project files
.classpath
.project
# Proguard folder generated by Eclipse # Proguard folder generated by Eclipse
proguard/ proguard/
# Intellij project files
*.iml
*.ipr
*.iws
.idea/
*.tar
*.tar.*
*.log
*.log.*
*.sig
pkg/
src/
...@@ -11,3 +11,4 @@ Makefile.in ...@@ -11,3 +11,4 @@ Makefile.in
/depcomp /depcomp
/install-sh /install-sh
/missing /missing
/stamp-h1
...@@ -2,12 +2,20 @@ ...@@ -2,12 +2,20 @@
*.slo *.slo
*.lo *.lo
*.o *.o
*.obj
# Compiled Dynamic libraries # Compiled Dynamic libraries
*.so *.so
*.dylib *.dylib
*.dll
# Compiled Static libraries # Compiled Static libraries
*.lai *.lai
*.la *.la
*.a *.a
*.lib
# Executables
*.exe
*.out
*.app
# Object files # Object files
*.o *.o
*.ko *.ko
*.obj
*.elf
# Libraries # Libraries
*.lib *.lib
...@@ -16,3 +18,6 @@ ...@@ -16,3 +18,6 @@
*.exe *.exe
*.out *.out
*.app *.app
*.i*86
*.x86_64
*.hex
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. We’d 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 project’s homepage**. Unless it’s
extremely popular, there’s a chance the maintainers don’t know about or use
the language, framework, editor, app, or project your change applies to.
- **Provide links to documentation** supporting the change you’re making.
Current, canonical documentation mentioning the files being ignored is best.
If documentation isn’t available to support your change, do the best you can
to explain what the files being ignored are for.
- **Explain why you’re 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.
It’s 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 you’re making,
the more likely we’ll be to accept your contribution quickly.
Please also understand that we can’t 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, it’s not because it’s not awesome.
...@@ -4,4 +4,4 @@ tmp/* ...@@ -4,4 +4,4 @@ tmp/*
app/tmp/* app/tmp/*
app/[Cc]onfig/core.php app/[Cc]onfig/core.php
app/[Cc]onfig/database.php app/[Cc]onfig/database.php
!empty !empty
\ No newline at end of file
.vagrant
Berksfile.lock
*~
*#
.#*
\#*#
.*.sw[a-z]
*.un~
/cookbooks
# Bundler
Gemfile.lock
bin/*
.bundle/*
.kitchen/
.kitchen.local.yml
...@@ -3,3 +3,4 @@ ...@@ -3,3 +3,4 @@
*/logs/!index.html */logs/!index.html
*/cache/* */cache/*
*/cache/!index.html */cache/!index.html
*/cache/!.htaccess
\ No newline at end of file
*.FASL
*.fasl
*.lisp-temp
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
\ No newline at end of file
config/site.php config/site.php
files/cache/* files/cache/*
files/tmp/* files/tmp/*
\ No newline at end of file
*.vo *.vo
*.glob *.glob
*.v.d *.v.d
.DS_Store // Don’t commit the following files and directories created by pub and dart2js
packages packages/
.project *.js_
pubspec.lock *.js.deps
*.js.map
// Include when developing application packages
pubspec.lock
// Avoid committing generated JavaScript files
*.dart.js
*.dcu *.dcu
*.~*~ *.~*
*.local *.local
*.identcache *.identcache
__history __history
...@@ -11,4 +11,4 @@ __history ...@@ -11,4 +11,4 @@ __history
*.dcp *.dcp
*.so *.so
*.apk *.apk
bin/* bin/*
\ No newline at end of file
*.log
*.pot
*.pyc
local_settings.py
...@@ -8,7 +8,6 @@ sites/*/files ...@@ -8,7 +8,6 @@ sites/*/files
sites/*/private sites/*/private
# Ignore default text files # Ignore default text files
.htaccess
robots.txt robots.txt
/CHANGELOG.txt /CHANGELOG.txt
/COPYRIGHT.txt /COPYRIGHT.txt
...@@ -22,6 +21,7 @@ sites/all/modules/README.txt ...@@ -22,6 +21,7 @@ sites/all/modules/README.txt
sites/all/themes/README.txt sites/all/themes/README.txt
# Ignore everything but the "sites" folder ( for non core developer ) # Ignore everything but the "sites" folder ( for non core developer )
.htaccess
web.config web.config
authorize.php authorize.php
cron.php cron.php
...@@ -34,4 +34,4 @@ xmlrpc.php ...@@ -34,4 +34,4 @@ xmlrpc.php
/modules /modules
/profiles /profiles
/scripts /scripts
/themes /themes
\ No newline at end of file
######################
## EPiServer Files
######################
*License.config
\ No newline at end of file
# Compiled
*.elc
...@@ -8,8 +8,12 @@ images/member_photos/ ...@@ -8,8 +8,12 @@ images/member_photos/
images/signature_attachments/ images/signature_attachments/
images/pm_attachments/ images/pm_attachments/
# For security do not publish the following files
system/expressionengine/config/database.php
system/expressionengine/config/config.php
# Caches # Caches
sized/ sized/
thumbs/ thumbs/
_thumbs/ _thumbs/
*/expressionengine/cache/* */expressionengine/cache/*
\ No newline at end of file
*.rbc
*.fyc
\ No newline at end of file
...@@ -11,4 +11,3 @@ ...@@ -11,4 +11,3 @@
# Some versions of Finale have a bug and randomly save extra copies of # Some versions of Finale have a bug and randomly save extra copies of
# the music source as "<Filename> copy.mus" # the music source as "<Filename> copy.mus"
*copy.mus *copy.mus
.project .project
.settings .settings
salesforce.schema salesforce.schema
Referenced Packages Referenced Packages
\ No newline at end of file
...@@ -15,3 +15,14 @@ gwt-unitCache/ ...@@ -15,3 +15,14 @@ gwt-unitCache/
war/WEB-INF/deploy/ war/WEB-INF/deploy/
war/WEB-INF/classes/ war/WEB-INF/classes/
#compilation logs
.gwt/
#caching for already compiled files
gwt-unitCache/
#gwt junit compilation files
www-test/
#old GWT (1.5) created this dir
.gwt-tmp/
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
*.bz2 *.bz2
*.xz *.xz
*.lzma *.lzma
*.cab
#packing-only formats #packing-only formats
*.iso *.iso
...@@ -21,3 +22,6 @@ ...@@ -21,3 +22,6 @@
*.egg *.egg
*.deb *.deb
*.rpm *.rpm
*.msi
*.msm
*.msp
# Bricx Command Center IDE
# http://bricxcc.sourceforge.net
*.bak
*.sym
/CVS/* /CVS/*
*/CVS/* */CVS/*
.cvsignore .cvsignore
*/.cvsignore */.cvsignore
\ No newline at end of file
# Cloud9 IDE - http://c9.io
.c9revisions
# DW Dreamweaver added files
_notes
dwsync.xml
*.pydevproject *.pydevproject
.project
.metadata .metadata
bin/** .gradle
tmp/** bin/
tmp/**/* tmp/
*.tmp *.tmp
*.bak *.bak
*.swp *.swp
*~.nib *~.nib
local.properties local.properties
.classpath
.settings/ .settings/
.loadpath .loadpath
...@@ -24,3 +22,6 @@ local.properties ...@@ -24,3 +22,6 @@ local.properties
# PDT-specific # PDT-specific
.buildpath .buildpath
# TeXlipse plugin
.texlipse
# -*- mode: gitignore; -*-
*~ *~
\#*\# \#*\#
/.emacs.desktop /.emacs.desktop
/.emacs.desktop.lock /.emacs.desktop.lock
.elc *.elc
auto-save-list auto-save-list
tramp tramp
.\#* .\#*
...@@ -10,3 +11,13 @@ tramp ...@@ -10,3 +11,13 @@ tramp
# Org-mode # Org-mode
.org-id-locations .org-id-locations
*_archive *_archive
# flymake-mode
*_flymake.*
# eshell files
/eshell/history
/eshell/lastdir
# elpa packages
/elpa/
# Ensime specific
.ensime
.ensime_lucene/
\ No newline at end of file
*.esproj *.esproj
\ No newline at end of file
bin/ bin/
bin-debug/ bin-debug/
\ No newline at end of file
# 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/
# generated by mpeltonen/sbt-idea plugin
.idea_modules/
# Swap Files #
.*.kate-swp
.swp.*
#ignore backup files
backup/
#ignore files generated by the compiler
lib/
*.compiled
*.o
*.or
*.ppu
#exclude executable output in windows
*.exe
\ No newline at end of file
...@@ -12,5 +12,5 @@ ...@@ -12,5 +12,5 @@
# Compiled MEX binaries (all platforms) # Compiled MEX binaries (all platforms)
*.mex* *.mex*
# Simulink Code Generation # Simulink Code Generation
slprj/ slprj/
# Notepad++ backups #
*.bak
\ No newline at end of file
.DS_Store .DS_Store
.AppleDouble .AppleDouble
.LSOverride .LSOverride
Icon
# Icon must ends with two \r.
Icon
# Thumbnails # Thumbnails
._* ._*
......
.idea/
\ No newline at end of file
# PyCharm
# http://www.jetbrains.com/pycharm/webhelp/project.html
.idea
.iml
### SASS Ignores - "Sassy CSS" http://sass-lang.com/ ### Sass Ignores - "Sassy CSS" http://sass-lang.com/
*.sass-cache *.sass-cache
...@@ -4,4 +4,6 @@ ...@@ -4,4 +4,6 @@
target/ target/
lib_managed/ lib_managed/
src_managed/ src_managed/
project/boot/ project/boot/
\ No newline at end of file .history
.cache
# SublimeText project files # workspace files are user-specific
*.sublime-workspace *.sublime-workspace
# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project
# Ignore tags created by etags and ctags # Ignore tags created by etags, ctags, gtags (GNU global) and cscope
TAGS TAGS
!TAGS/ !TAGS/
tags tags
!tags/ !tags/
gtags.files
GTAGS
GRTAGS
GPATH
cscope.files
cscope.out
cscope.in.out
cscope.po.out
...@@ -7,3 +7,9 @@ Desktop.ini ...@@ -7,3 +7,9 @@ Desktop.ini
# Recycle Bin used on file shares # Recycle Bin used on file shares
$RECYCLE.BIN/ $RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
*.s[a-w][a-z] [._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~ *.un~
Session.vim Session.vim
.netrwhist .netrwhist
......
**/IntegrationServer/lib/
**/IntegrationServer/datastore/
**/IntegrationServer/db/
**/IntegrationServer/DocumentStore/
**/IntegrationServer/lib/
**/IntegrationServer/logs/
**/IntegrationServer/replicate/
**/IntegrationServer/sdk/
**/IntegrationServer/support/
**/IntegrationServer/update/
**/IntegrationServer/userFtpRoot/
**/IntegrationServer/web/
**/IntegrationServer/WmRepository4/
**/IntegrationServer/XAStore/
**/IntegrationServer/packages/Wm*/
...@@ -20,3 +20,4 @@ _cgo_export.* ...@@ -20,3 +20,4 @@ _cgo_export.*
_testmain.go _testmain.go
*.exe *.exe
*.test
.gradle
build/
...@@ -28,17 +28,16 @@ ...@@ -28,17 +28,16 @@
# project release file # project release file
/*.war /*.war
# plugin release file # plugin release files
/*.zip /*.zip
/plugin.xml
# older plugin install locations # older plugin install locations
/plugins /plugins
/web-app/plugins /web-app/plugins
/web-app/WEB-INF/classes
# "temporary" build files # "temporary" build files
/target /target
# other # other
*.iws *.iws
...@@ -5,3 +5,7 @@ cabal-dev ...@@ -5,3 +5,7 @@ cabal-dev
*.chi *.chi
*.chs.h *.chs.h
.virthualenv .virthualenv
.hsenv
.cabal-sandbox/
cabal.sandbox.config
cabal.config
*.class *.class
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files # # Package Files #
*.jar *.jar
*.war *.war
......
...@@ -13,3 +13,7 @@ jboss/server/minimal/log/*.log ...@@ -13,3 +13,7 @@ jboss/server/minimal/log/*.log
jboss/server/minimal/tmp/**/* jboss/server/minimal/tmp/**/*
jboss/server/minimal/data/**/* jboss/server/minimal/data/**/*
jboss/server/minimal/work/**/* jboss/server/minimal/work/**/*
# deployed package files #
*.DEPLOYED
此差异已折叠。
application/cache/* application/cache/*
application/logs/* application/logs/*
\ No newline at end of file
*.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
...@@ -2,5 +2,7 @@ pom.xml ...@@ -2,5 +2,7 @@ pom.xml
*jar *jar
/lib/ /lib/
/classes/ /classes/
/targets/ /target/
.lein-deps-sum .lein-deps-sum
.lein-repl-history
.lein-plugins/
...@@ -18,4 +18,4 @@ install.php ...@@ -18,4 +18,4 @@ install.php
/modules/shop/* /modules/shop/*
/modules/system/* /modules/system/*
/modules/users/* /modules/users/*
# add content_*.php if you don't want erase client changes to content # add content_*.php if you don't want erase client changes to content
\ No newline at end of file
...@@ -15,14 +15,18 @@ app/etc/modules/Enterprise_* ...@@ -15,14 +15,18 @@ app/etc/modules/Enterprise_*
app/etc/modules/Find_Feed.xml app/etc/modules/Find_Feed.xml
app/etc/modules/Mage_All.xml app/etc/modules/Mage_All.xml
app/etc/modules/Mage_Api.xml app/etc/modules/Mage_Api.xml
app/etc/modules/Mage_Api2.xml
app/etc/modules/Mage_Authorizenet.xml app/etc/modules/Mage_Authorizenet.xml
app/etc/modules/Mage_Bundle.xml app/etc/modules/Mage_Bundle.xml
app/etc/modules/Mage_Captcha.xml
app/etc/modules/Mage_Centinel.xml app/etc/modules/Mage_Centinel.xml
app/etc/modules/Mage_Compiler.xml app/etc/modules/Mage_Compiler.xml
app/etc/modules/Mage_Connect.xml app/etc/modules/Mage_Connect.xml
app/etc/modules/Mage_CurrencySymbol.xml
app/etc/modules/Mage_Downloadable.xml app/etc/modules/Mage_Downloadable.xml
app/etc/modules/Mage_ImportExport.xml app/etc/modules/Mage_ImportExport.xml
app/etc/modules/Mage_LoadTest.xml app/etc/modules/Mage_LoadTest.xml
app/etc/modules/Mage_Oauth.xml
app/etc/modules/Mage_PageCache.xml app/etc/modules/Mage_PageCache.xml
app/etc/modules/Mage_Persistent.xml app/etc/modules/Mage_Persistent.xml
app/etc/modules/Mage_Weee.xml app/etc/modules/Mage_Weee.xml
...@@ -33,6 +37,7 @@ app/etc/config.xml ...@@ -33,6 +37,7 @@ app/etc/config.xml
app/etc/enterprise.xml app/etc/enterprise.xml
app/etc/local.xml.additional app/etc/local.xml.additional
app/etc/local.xml.template app/etc/local.xml.template
app/etc/local.xml
app/.htaccess app/.htaccess
app/locale/ app/locale/
app/Mage.php app/Mage.php
...@@ -45,7 +50,7 @@ get.php ...@@ -45,7 +50,7 @@ get.php
includes/ includes/
index.php index.php
index.php.sample index.php.sample
install.php /install.php
js/blank.html js/blank.html
js/calendar/ js/calendar/
js/enterprise/ js/enterprise/
...@@ -78,10 +83,13 @@ LICENSE.txt ...@@ -78,10 +83,13 @@ LICENSE.txt
LICENSE_EE* LICENSE_EE*
mage mage
media/customer/ media/customer/
media/dhl/
media/downloadable/ media/downloadable/
media/.htaccess media/.htaccess
media/import/ media/import/
media/xmlconnect/ media/xmlconnect/
media/catalog/product/cache/
nbproject/ nbproject/
pear pear
pear/ pear/
......
target/ target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.next
release.properties
.meteor/local
.meteor/meteorite
\ No newline at end of file
...@@ -10,6 +10,6 @@ lib-cov ...@@ -10,6 +10,6 @@ lib-cov
pids pids
logs logs
results results
build
npm-debug.log node_modules
node_modules
\ No newline at end of file
# Xcode # OS X
.DS_Store .DS_Store
*/build/*
# Xcode
build/
*.pbxuser *.pbxuser
!default.pbxuser !default.pbxuser
*.mode1v3 *.mode1v3
...@@ -10,12 +12,12 @@ ...@@ -10,12 +12,12 @@
*.perspectivev3 *.perspectivev3
!default.perspectivev3 !default.perspectivev3
xcuserdata xcuserdata
*.xccheckout
profile profile
*.moved-aside *.moved-aside
DerivedData DerivedData
.idea/
*.hmap *.hmap
*.xccheckout *.ipa
#CocoaPods # CocoaPods
Pods Pods
blib/ /blib/
.build/ /.build/
_build/ _build/
cover_db/ cover_db/
inc/ inc/
...@@ -7,10 +7,13 @@ Build ...@@ -7,10 +7,13 @@ Build
!Build/ !Build/
Build.bat Build.bat
.last_cover_stats .last_cover_stats
Makefile /Makefile
Makefile.old /Makefile.old
MANIFEST.bak /MANIFEST.bak
META.yml /META.yml
MYMETA.yml /META.json
/MYMETA.*
nytprof.out nytprof.out
pm_to_blib /pm_to_blib
*.o
*.bs
# Extracted from https://github.com/ulrich/macaron-factory/blob/master/.gitignore
# Ignore all dotfiles...
.*
# except for .gitignore
!.gitignore
# Ignore Play! working directory # # Ignore Play! working directory #
bin
db db
eclipse eclipse
lib lib
......
*~
*.pyc *.pyc
*.pyo *.pyo
*.tmp* *.tmp*
...@@ -7,17 +6,7 @@ ...@@ -7,17 +6,7 @@
*.EGG *.EGG
*.egg-info *.egg-info
*.EGG-INFO *.EGG-INFO
*.kpf
*.swp
*.wpr
.*.cfg .*.cfg
.installed.cfg
.mr.developer.cfg
.hg/
.bzr/
.svn/
.project
.pydevproject
bin/ bin/
build/ build/
develop-eggs/ develop-eggs/
...@@ -27,8 +16,3 @@ fake-eggs/ ...@@ -27,8 +16,3 @@ fake-eggs/
parts/ parts/
dist/ dist/
var/ var/
# OSX
.DS_Store
# Directories content
cache/class_index.php
cache/smarty/cache/*
!cache/smarty/cache/index.php
cache/smarty/compile/*
!cache/smarty/compile/index.php
cache/tcpdf/*
!cache/tcpdf/index.php
config/xml/*.xml
config/settings.inc.php
log/*.log
img/*
!img/index.php
!img/*/index.php
tools/smarty*/cache/*.php
!tools/smarty*/cache/index.php
tools/smarty*/compile/*.php
!tools/smarty*/compile/index.php
themes/default/cache/*.js
themes/default/cache/*.css
# Ignore files on root directory
robots.txt
sitemap.xml
\ No newline at end of file
.DS_Store
applet
application.linux32
application.linux64
application.windows32
application.windows64
application.macosx
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod] *.py[cod]
# C extensions # C extensions
*.so *.so
# Packages # Distribution / packaging
*.egg bin/
*.egg-info build/
dist develop-eggs/
build dist/
eggs eggs/
parts lib/
bin lib64/
var parts/
sdist sdist/
develop-eggs var/
*.egg-info/
.installed.cfg .installed.cfg
lib *.egg
lib64
__pycache__
# Installer logs # Installer logs
pip-log.txt pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports # Unit test / coverage reports
.tox/
.coverage .coverage
.tox .cache
nosetests.xml nosetests.xml
coverage.xml
# Translations # Translations
*.mo *.mo
...@@ -34,3 +38,14 @@ nosetests.xml ...@@ -34,3 +38,14 @@ nosetests.xml
.mr.developer.cfg .mr.developer.cfg
.project .project
.pydevproject .pydevproject
# Rope
.ropeproject
# Django stuff:
*.log
*.pot
# Sphinx documentation
docs/_build/
...@@ -16,5 +16,10 @@ ...@@ -16,5 +16,10 @@
*.pro.user.* *.pro.user.*
moc_*.cpp moc_*.cpp
qrc_*.cpp qrc_*.cpp
Makefile ui_*.h
Makefile*
*-build-* *-build-*
# QtCreator
*.autosave
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
.Rhistory .Rhistory
# Example code in package build process # Example code in package build process
*-Ex.R *-Ex.R
\ No newline at end of file
# A Collection of Useful .gitignore Templates # A collection of `.gitignore` templates
That's what we're trying to build. Please contribute This is GitHub’s collection of [`.gitignore`][man] file templates.
by [forking][fk] and sending a [pull request][pr]. 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 For more information about how `.gitignore` files work, and how to use them,
make merging easier for everyone. the following resources are a great place to start:
Global gitignores (OS-specific, editor-specific) should go into the - The [Ignoring Files chapter][chapter] of the [Pro Git][progit] book.
`Global/` directory. - 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
[pr]: http://help.github.com/pull-requests/
[g5]: http://man.cx/gitignore 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
We’d 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.
## Pull Requests - **Provide a link to the application or project’s homepage**. Unless it’s
extremely popular, there’s a chance the maintainers don’t know about or use
the language, framework, editor, app, or project your change applies to.
- **Provide links to documentation** supporting the change you’re making.
Current, canonical documentation mentioning the files being ignored is best.
If documentation isn’t available to support your change, do the best you can
to explain what the files being ignored are for.
- **Explain why you’re 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.
It’s 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.
Since this repo includes a large and diverse - **Please only modify *one template* per pull request**. This helps keep pull
number of programming languages, frameworks, editors, requests and feedback focused on a specific project or technology.
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 In general, the more you can do to help us understand the change you’re making,
and keep quality high. the more likely we’ll be to accept your contribution quickly.
## Global Ignores Please also understand that we can’t 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, it’s not because it’s not awesome.
git has a global configuration that applies rules to all of ## Contributing workflow
your projects. For example:
git config --global core.excludesfile ~/.global_ignore Here’s 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 fork’s 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/
... will apply the rules in ~/.global_ignore for all of your repos. ## License
This is useful if you use an editor (like Emacs) that drops backup files, [MIT](./LICENSE).
or if you work in an environment that generates binary or intermediate
files that are always ignored.
~$
.swp$
build/
bin/
lib/
msg_gen/
srv_gen/
msg/.*Action\.msg$
msg/.*ActionFeedback\.msg$
msg/.*ActionGoal\.msg$
msg/.*ActionResult\.msg$
msg/.*Feedback\.msg$
msg/.*Goal\.msg$
msg/.*Result\.msg$
msg/_.*\.py$
\.pcd$
.pyc$
# Generated by dynamic reconfigure
\.cfgc$
/cfg/cpp/
/cfg/.*\.py$
# Ignore generated docs
.dox$
.wikidoc$
# eclipse stuff
.project
.cproject
# qcreator stuff
CMakeLists.txt.user
srv/_.*\.py$
\.pcd$
.pyc$
qtcreator-*
*.user
/planning/cfg
/planning/docs
/planning/src
*~$
# Emacs
.#*
# Catkin custom files
CATKIN_IGNORE
...@@ -3,17 +3,23 @@ ...@@ -3,17 +3,23 @@
.sass-cache .sass-cache
capybara-*.html capybara-*.html
.rspec .rspec
.rvmrc /log
/.bundle /tmp
/vendor/bundle
/log/*
/tmp/*
/db/*.sqlite3 /db/*.sqlite3
/public/system/* /public/system
/coverage/ /coverage/
/spec/tmp/* /spec/tmp
**.orig **.orig
rerun.txt rerun.txt
pickle-email-*.html pickle-email-*.html
.project
config/initializers/secret_token.rb 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
*.gem *.gem
*.rbc *.rbc
.bundle /.config
.config /coverage/
coverage /InstalledFiles
InstalledFiles /pkg/
lib/bundler/man /spec/reports/
pkg /test/tmp/
rdoc /test/version_tmp/
spec/reports /tmp/
test/tmp
test/version_tmp
tmp
# YARD artifacts ## Documentation cache and generated files:
.yardoc /.yardoc/
_yardoc /_yardoc/
doc/ /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
.dat*
.repl_history
build/
tags
# Editor files
.DS_Store
nbproject
.redcar
*.swp
*.swo
~
.eprj
vendor/Pods
*.nib
# YARD artifacts
.yardoc
_yardoc
doc/
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
*.log *.log
# sbt specific # sbt specific
.cache/
.history/
.lib/
dist/* dist/*
target/ target/
lib_managed/ lib_managed/
...@@ -10,4 +13,5 @@ project/boot/ ...@@ -10,4 +13,5 @@ project/boot/
project/plugins/project/ project/plugins/project/
# Scala-IDE specific # Scala-IDE specific
.scala_dependencies .scala_dependencies
\ No newline at end of file .worksheet
/Files/binder.autosave
/Files/binder.backup
/Files/search.indexes
/Files/user.lock
/Files/Docs/docs.checksum
/QuickLook/
/Settings/ui.plist
...@@ -6,4 +6,3 @@ ...@@ -6,4 +6,3 @@
*.rel *.rel
*.rst *.rst
*.sym *.sym
...@@ -12,4 +12,4 @@ lib/model/doctrine/base/Base* ...@@ -12,4 +12,4 @@ lib/model/doctrine/base/Base*
lib/model/doctrine/*Plugin/base/Base* lib/model/doctrine/*Plugin/base/Base*
lib/model/om/* lib/model/om/*
lib/model/map/* lib/model/map/*
web/*Plugin/* web/*Plugin/*
\ No newline at end of file
...@@ -11,3 +11,6 @@ web/bundles/* ...@@ -11,3 +11,6 @@ web/bundles/*
# Configuration files # Configuration files
app/config/parameters.ini app/config/parameters.ini
app/config/parameters.yml app/config/parameters.yml
# Composer
composer.phar
\ No newline at end of file
## 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
## Typo3 ## TYPO3 v4
# Ignore serveral upload and file directories. # Ignore serveral upload and file directories.
/fileadmin/user_upload/ /fileadmin/user_upload/
/fileadmin/_temp_/ /fileadmin/_temp_/
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
/typo3conf/localconf_local.php /typo3conf/localconf_local.php
# Ignore system folders, you should have them symlinked. # Ignore system folders, you should have them symlinked.
# If not comment out the following two entries. # If not comment out the following two entries.
/typo3/ /typo3
/t3lib/ /t3lib
# Ignore temp directory. # Ignore temp directory.
/typo3temp/ /typo3temp/
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
[Oo]bj/ [Oo]bj/
# Autogenerated VS/MD solution and project files # Autogenerated VS/MD solution and project files
*.csproj /*.csproj
*.unityproj /*.unityproj
*.sln /*.sln
/*.suo
/*.user
/*.pidb
# .v4p backup files
*~.xml
# Dynamic plugins .dll
bin/
...@@ -7,11 +7,12 @@ ...@@ -7,11 +7,12 @@
*.sln.docstates *.sln.docstates
# Build results # Build results
[Dd]ebug/ [Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/ [Rr]elease/
x64/ x64/
build/ build/
bld/
[Bb]in/ [Bb]in/
[Oo]bj/ [Oo]bj/
...@@ -22,8 +23,13 @@ build/ ...@@ -22,8 +23,13 @@ build/
[Tt]est[Rr]esult*/ [Tt]est[Rr]esult*/
[Bb]uild[Ll]og.* [Bb]uild[Ll]og.*
#NUNIT
*.VisualState.xml
TestResult.xml
*_i.c *_i.c
*_p.c *_p.c
*_i.h
*.ilk *.ilk
*.meta *.meta
*.obj *.obj
...@@ -43,9 +49,12 @@ build/ ...@@ -43,9 +49,12 @@ build/
*.vssscc *.vssscc
.builds .builds
*.pidb *.pidb
*.log *.svclog
*.scc *.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files # Visual C++ cache files
ipch/ ipch/
*.aps *.aps
...@@ -59,12 +68,19 @@ ipch/ ...@@ -59,12 +68,19 @@ ipch/
*.vsp *.vsp
*.vspx *.vspx
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit # Guidance Automation Toolkit
*.gpState *.gpState
# ReSharper is a .NET coding add-in # ReSharper is a .NET coding add-in
_ReSharper*/ _ReSharper*/
*.[Rr]e[Ss]harper *.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding addin-in
.JustCode
# TeamCity is a build add-in # TeamCity is a build add-in
_TeamCity* _TeamCity*
...@@ -74,8 +90,13 @@ _TeamCity* ...@@ -74,8 +90,13 @@ _TeamCity*
# NCrunch # NCrunch
*.ncrunch* *.ncrunch*
_NCrunch_*
.*crunch*.local.xml .*crunch*.local.xml
# MightyMoose
*.mm.*
AutoTest.Net/
# Installshield output folder # Installshield output folder
[Ee]xpress/ [Ee]xpress/
...@@ -94,14 +115,16 @@ publish/ ...@@ -94,14 +115,16 @@ publish/
# Publish Web Output # Publish Web Output
*.Publish.xml *.Publish.xml
*.pubxml *.azurePubxml
# NuGet Packages Directory # NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line ## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/ #packages/
## TODO: If the tool you use requires repositories.config, also uncomment the next line
#!packages/repositories.config
# Windows Azure Build Output # Windows Azure Build Output
csx csx/
*.build.csdef *.build.csdef
# Windows Store app package directory # Windows Store app package directory
...@@ -115,6 +138,7 @@ ClientBin/ ...@@ -115,6 +138,7 @@ ClientBin/
~$* ~$*
*~ *~
*.dbmdl *.dbmdl
*.dbproj.schemaview
*.[Pp]ublish.xml *.[Pp]ublish.xml
*.pfx *.pfx
*.publishsettings *.publishsettings
...@@ -133,6 +157,14 @@ UpgradeLog*.htm ...@@ -133,6 +157,14 @@ UpgradeLog*.htm
App_Data/*.mdf App_Data/*.mdf
App_Data/*.ldf App_Data/*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# ========================= # =========================
# Windows detritus # Windows detritus
# ========================= # =========================
...@@ -146,6 +178,3 @@ Desktop.ini ...@@ -146,6 +178,3 @@ Desktop.ini
# Recycle Bin used on file shares # Recycle Bin used on file shares
$RECYCLE.BIN/ $RECYCLE.BIN/
# Mac crap
.DS_Store
.htaccess .htaccess
wp-config.php
wp-content/uploads/ wp-content/uploads/
wp-content/blogs.dir/ wp-content/blogs.dir/
wp-content/upgrade/ wp-content/upgrade/
...@@ -10,4 +9,4 @@ sitemap.xml ...@@ -10,4 +9,4 @@ sitemap.xml
*.log *.log
wp-content/cache/ wp-content/cache/
wp-content/backups/ wp-content/backups/
sitemap.xml.gz sitemap.xml.gz
\ No newline at end of file
node_modules/
bower_components/
*.log
build/
dist/
assets/ assets/*
protected/runtime/ !assets/.gitignore
themes/classic/views/ protected/runtime/*
\ No newline at end of file !protected/runtime/.gitignore
protected/data/*.db
themes/classic/views/
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册