mirror of
https://github.com/github/gitignore.git
synced 2026-11-06 10:00:40 +01:00
Compare commits
12
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
133c57afa5 | ||
|
|
dc9c75a9f0 | ||
|
|
7603d71a56 | ||
|
|
de60b262fc | ||
|
|
9b955e4787 | ||
|
|
e734a55eb6 | ||
|
|
8c48d15ecb | ||
|
|
13293bc8ac | ||
|
|
22a63953fb | ||
|
|
3fe5f882ec | ||
|
|
677c7abacf | ||
|
|
74ba388528 |
No files matched your search
@@ -0,0 +1,3 @@
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
language: ruby
|
||||
|
||||
sudo: false
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
script:
|
||||
- ruby -e "puts 'Hello world!'"
|
||||
@@ -32,16 +32,6 @@ proguard/
|
||||
# Android Studio captures folder
|
||||
captures/
|
||||
|
||||
# IntelliJ
|
||||
*.iml
|
||||
.idea/workspace.xml
|
||||
.idea/tasks.xml
|
||||
.idea/gradle.xml
|
||||
.idea/assetWizardSettings.xml
|
||||
.idea/dictionaries
|
||||
.idea/libraries
|
||||
.idea/caches
|
||||
|
||||
# Keystore files
|
||||
# Uncomment the following line if you do not want to check your keystore files in.
|
||||
#*.jks
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
editors:
|
||||
- Global/JetBrains.gitignore
|
||||
+2
-3
@@ -9,15 +9,13 @@ Makefile.in
|
||||
|
||||
# http://www.gnu.org/software/autoconf
|
||||
|
||||
autom4te.cache
|
||||
/autom4te.cache
|
||||
/autoscan.log
|
||||
/autoscan-*.log
|
||||
/aclocal.m4
|
||||
/compile
|
||||
/config.guess
|
||||
/config.h.in
|
||||
/config.log
|
||||
/config.status
|
||||
/config.sub
|
||||
/configure
|
||||
/configure.scan
|
||||
@@ -41,3 +39,4 @@ m4/ltoptions.m4
|
||||
m4/ltsugar.m4
|
||||
m4/ltversion.m4
|
||||
m4/lt~obsolete.m4
|
||||
autom4te.cache
|
||||
@@ -1 +0,0 @@
|
||||
Leiningen.gitignore
|
||||
+2
-3
@@ -1,4 +1,3 @@
|
||||
# Craft 2 Storage (https://craftcms.com/support/craft-storage-gitignore)
|
||||
# not necessary for Craft 3 (https://github.com/craftcms/craft/issues/26)
|
||||
# Craft Storage (cache) [http://buildwithcraft.com/help/craft-storage-gitignore]
|
||||
/craft/storage/*
|
||||
!/craft/storage/rebrand
|
||||
!/craft/storage/logo/*
|
||||
@@ -35,6 +35,7 @@ eagle.epf
|
||||
*.gpi
|
||||
*.pls
|
||||
*.ger
|
||||
*.gpi
|
||||
*.xln
|
||||
|
||||
*.drd
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
C++.gitignore
|
||||
@@ -18,6 +18,9 @@ war/WEB-INF/classes/
|
||||
#compilation logs
|
||||
.gwt/
|
||||
|
||||
#caching for already compiled files
|
||||
gwt-unitCache/
|
||||
|
||||
#gwt junit compilation files
|
||||
www-test/
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
*.bak
|
||||
*.gho
|
||||
*.ori
|
||||
*.orig
|
||||
*.tmp
|
||||
@@ -1,4 +1,3 @@
|
||||
# General CodeKit files to ignore
|
||||
config.codekit
|
||||
config.codekit3
|
||||
/min
|
||||
@@ -1,2 +0,0 @@
|
||||
*.patch
|
||||
*.diff
|
||||
@@ -1,6 +1,3 @@
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
|
||||
# User-specific stuff
|
||||
.idea/**/workspace.xml
|
||||
.idea/**/tasks.xml
|
||||
@@ -8,9 +5,6 @@
|
||||
.idea/**/dictionaries
|
||||
.idea/**/shelf
|
||||
|
||||
# Generated files
|
||||
.idea/**/contentModel.xml
|
||||
|
||||
# Sensitive or high-churn files
|
||||
.idea/**/dataSources/
|
||||
.idea/**/dataSources.ids
|
||||
@@ -24,14 +18,6 @@
|
||||
.idea/**/gradle.xml
|
||||
.idea/**/libraries
|
||||
|
||||
# Gradle and Maven with auto-import
|
||||
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||
# since they will be recreated, and may cause churn. Uncomment if using
|
||||
# auto-import.
|
||||
# .idea/modules.xml
|
||||
# .idea/*.iml
|
||||
# .idea/modules
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
@@ -61,3 +47,6 @@ fabric.properties
|
||||
|
||||
# Editor-based Rest Client
|
||||
.idea/httpRequests
|
||||
|
||||
# Rider-specific rules
|
||||
*.sln.iml
|
||||
@@ -0,0 +1,11 @@
|
||||
aliases:
|
||||
- IntelliJ
|
||||
- RubyMine
|
||||
- PhpStorm
|
||||
- AppCode
|
||||
- PyCharm
|
||||
- CLion
|
||||
- Android Studio
|
||||
- WebStorm
|
||||
- Rider
|
||||
reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
@@ -3,9 +3,6 @@
|
||||
# Word temporary
|
||||
~$*.doc*
|
||||
|
||||
# Word Auto Backup File
|
||||
Backup of *.doc*
|
||||
|
||||
# Excel temporary
|
||||
~$*.xls*
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
*.orig
|
||||
*.rej
|
||||
@@ -1,7 +1,3 @@
|
||||
# Xcode
|
||||
#
|
||||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
||||
|
||||
## User settings
|
||||
xcuserdata/
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
aliases:
|
||||
- Objective-C
|
||||
- Swift
|
||||
@@ -1,11 +0,0 @@
|
||||
*Script
|
||||
|
||||
# Holmake generated files
|
||||
*Theory.sig
|
||||
*Theory.sml
|
||||
*.uo
|
||||
*.ui
|
||||
|
||||
# Holmake auxiliary files
|
||||
.hollogs
|
||||
.HOLMK
|
||||
@@ -9,6 +9,7 @@
|
||||
*~
|
||||
_autosave-*
|
||||
*.tmp
|
||||
*-cache.lib
|
||||
*-rescue.lib
|
||||
*-save.pro
|
||||
*-save.kicad_pcb
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
Java.gitignore
|
||||
+5
-2
@@ -1,7 +1,6 @@
|
||||
vendor/
|
||||
node_modules/
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
|
||||
# Laravel 4 specific
|
||||
bootstrap/compiled.php
|
||||
@@ -11,7 +10,11 @@ app/storage/
|
||||
public/storage
|
||||
public/hot
|
||||
storage/*.key
|
||||
.env.*.php
|
||||
.env.php
|
||||
.env
|
||||
Homestead.yaml
|
||||
Homestead.json
|
||||
/.vagrant
|
||||
|
||||
# Rocketeer PHP task runner and deployment package. https://github.com/rocketeers/rocketeer
|
||||
.rocketeer/
|
||||
@@ -0,0 +1,2 @@
|
||||
aliases:
|
||||
- Clojure
|
||||
+3
-1
@@ -7,4 +7,6 @@ release.properties
|
||||
dependency-reduced-pom.xml
|
||||
buildNumber.properties
|
||||
.mvn/timing.properties
|
||||
.mvn/wrapper/maven-wrapper.jar
|
||||
|
||||
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
|
||||
!/.mvn/wrapper/maven-wrapper.jar
|
||||
+1
-1
@@ -20,7 +20,7 @@ coverage
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# Bower dependency directory (https://bower.io/)
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
# Xcode
|
||||
#
|
||||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
||||
|
||||
## Build generated
|
||||
build/
|
||||
DerivedData/
|
||||
|
||||
## Various settings
|
||||
*.pbxuser
|
||||
!default.pbxuser
|
||||
*.mode1v3
|
||||
!default.mode1v3
|
||||
*.mode2v3
|
||||
!default.mode2v3
|
||||
*.perspectivev3
|
||||
!default.perspectivev3
|
||||
xcuserdata/
|
||||
|
||||
## Other
|
||||
*.moved-aside
|
||||
*.xccheckout
|
||||
*.xcscmblueprint
|
||||
|
||||
## Obj-C/Swift specific
|
||||
*.hmap
|
||||
*.ipa
|
||||
*.dSYM.zip
|
||||
*.dSYM
|
||||
|
||||
# CocoaPods
|
||||
#
|
||||
# We recommend against adding the Pods directory to your .gitignore. However
|
||||
# you should judge for yourself, the pros and cons are mentioned at:
|
||||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
||||
#
|
||||
# Pods/
|
||||
#
|
||||
# Add this line if you want to avoid checking in source code from the Xcode workspace
|
||||
# *.xcworkspace
|
||||
|
||||
# Carthage
|
||||
#
|
||||
# Add this line if you want to avoid checking in source code from Carthage dependencies.
|
||||
# Carthage/Checkouts
|
||||
|
||||
Carthage/Build
|
||||
|
||||
# fastlane
|
||||
#
|
||||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
||||
# screenshots whenever they are needed.
|
||||
# For more information about the recommended setup visit:
|
||||
# https://docs.fastlane.tools/best-practices/source-control/#source-control
|
||||
|
||||
fastlane/report.xml
|
||||
fastlane/Preview.html
|
||||
fastlane/screenshots/**/*.png
|
||||
fastlane/test_output
|
||||
|
||||
# Code Injection
|
||||
#
|
||||
# After new code Injection tools there's a generated folder /iOSInjectionProject
|
||||
# https://github.com/johnno1962/injectionforxcode
|
||||
|
||||
iOSInjectionProject/
|
||||
@@ -1,7 +0,0 @@
|
||||
# Gitignore for Perl 6 (http://www.perl6.org)
|
||||
# As part of https://github.com/github/gitignore
|
||||
|
||||
# precompiled files
|
||||
.precomp
|
||||
lib/.precomp
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
.DS_Store
|
||||
applet
|
||||
application.linux-arm64
|
||||
application.linux-armv6hf
|
||||
application.linux32
|
||||
application.linux64
|
||||
application.windows32
|
||||
|
||||
@@ -38,7 +38,6 @@ pip-delete-this-directory.txt
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
@@ -73,10 +72,6 @@ target/
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
.python-version
|
||||
|
||||
@@ -107,5 +102,3 @@ venv.bak/
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
@@ -0,0 +1,3 @@
|
||||
editors:
|
||||
- Global/JetBrains.gitignore
|
||||
- Global/VisualStudioCode.gitignore
|
||||
@@ -47,15 +47,3 @@ bower.json
|
||||
# Ignore node_modules
|
||||
node_modules/
|
||||
|
||||
# Ignore precompiled javascript packs
|
||||
/public/packs
|
||||
/public/packs-test
|
||||
|
||||
# Ignore yarn files
|
||||
/yarn-error.log
|
||||
yarn-debug.log*
|
||||
.yarn-integrity
|
||||
|
||||
# Ignore uploaded files in development
|
||||
/storage/*
|
||||
!/storage/.keep
|
||||
@@ -1,78 +0,0 @@
|
||||
# Xcode
|
||||
#
|
||||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
||||
|
||||
## Build generated
|
||||
build/
|
||||
DerivedData/
|
||||
|
||||
## Various settings
|
||||
*.pbxuser
|
||||
!default.pbxuser
|
||||
*.mode1v3
|
||||
!default.mode1v3
|
||||
*.mode2v3
|
||||
!default.mode2v3
|
||||
*.perspectivev3
|
||||
!default.perspectivev3
|
||||
xcuserdata/
|
||||
|
||||
## Other
|
||||
*.moved-aside
|
||||
*.xccheckout
|
||||
*.xcscmblueprint
|
||||
|
||||
## Obj-C/Swift specific
|
||||
*.hmap
|
||||
*.ipa
|
||||
*.dSYM.zip
|
||||
*.dSYM
|
||||
|
||||
## Playgrounds
|
||||
timeline.xctimeline
|
||||
playground.xcworkspace
|
||||
|
||||
# Swift Package Manager
|
||||
#
|
||||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
|
||||
# Packages/
|
||||
# Package.pins
|
||||
# Package.resolved
|
||||
.build/
|
||||
|
||||
# CocoaPods
|
||||
#
|
||||
# We recommend against adding the Pods directory to your .gitignore. However
|
||||
# you should judge for yourself, the pros and cons are mentioned at:
|
||||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
||||
#
|
||||
# Pods/
|
||||
#
|
||||
# Add this line if you want to avoid checking in source code from the Xcode workspace
|
||||
# *.xcworkspace
|
||||
|
||||
# Carthage
|
||||
#
|
||||
# Add this line if you want to avoid checking in source code from Carthage dependencies.
|
||||
# Carthage/Checkouts
|
||||
|
||||
Carthage/Build
|
||||
|
||||
# fastlane
|
||||
#
|
||||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
||||
# screenshots whenever they are needed.
|
||||
# For more information about the recommended setup visit:
|
||||
# https://docs.fastlane.tools/best-practices/source-control/#source-control
|
||||
|
||||
fastlane/report.xml
|
||||
fastlane/Preview.html
|
||||
fastlane/screenshots/**/*.png
|
||||
fastlane/test_output
|
||||
|
||||
# Code Injection
|
||||
#
|
||||
# After new code Injection tools there's a generated folder /iOSInjectionProject
|
||||
# https://github.com/johnno1962/injectionforxcode
|
||||
|
||||
iOSInjectionProject/
|
||||
@@ -15,10 +15,6 @@
|
||||
!var/logs/.gitkeep
|
||||
!var/sessions/.gitkeep
|
||||
|
||||
# Logs (Symfony4)
|
||||
/var/log/*
|
||||
!var/log/.gitkeep
|
||||
|
||||
# Parameters
|
||||
/app/config/parameters.yml
|
||||
/app/config/parameters.ini
|
||||
|
||||
+3
-6
@@ -188,9 +188,6 @@ sympy-plots-for-*.tex/
|
||||
*.pytxcode
|
||||
pythontex-files-*/
|
||||
|
||||
# tcolorbox
|
||||
*.listing
|
||||
|
||||
# thmtools
|
||||
*.loe
|
||||
|
||||
@@ -229,9 +226,6 @@ TSWLatexianTemp*
|
||||
# Texpad
|
||||
.texpadtmp
|
||||
|
||||
# LyX
|
||||
*.lyx~
|
||||
|
||||
# Kile
|
||||
*.backup
|
||||
|
||||
@@ -247,3 +241,6 @@ TSWLatexianTemp*
|
||||
|
||||
# standalone packages
|
||||
*.sta
|
||||
|
||||
# generated if using elsarticle.cls
|
||||
*.spl
|
||||
@@ -13,14 +13,3 @@ crash.log
|
||||
# version control.
|
||||
#
|
||||
# example.tfvars
|
||||
|
||||
# Ignore override files as they are usually used to override resources locally and so
|
||||
# are not checked in
|
||||
override.tf
|
||||
override.tf.json
|
||||
*_override.tf
|
||||
*_override.tf.json
|
||||
|
||||
# Include override files you do wish to add to version control using negated pattern
|
||||
#
|
||||
# !example_override.tf
|
||||
@@ -1,6 +1,9 @@
|
||||
# Visual Studio 2015 user specific files
|
||||
.vs/
|
||||
|
||||
# Visual Studio 2015 database file
|
||||
*.VC.db
|
||||
|
||||
# Compiled Object files
|
||||
*.slo
|
||||
*.lo
|
||||
|
||||
@@ -59,7 +59,7 @@ StyleCopReport.xml
|
||||
# Files built by Visual Studio
|
||||
*_i.c
|
||||
*_p.c
|
||||
*_h.h
|
||||
*_i.h
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
@@ -286,10 +286,6 @@ paket-files/
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
|
||||
# JetBrains Rider
|
||||
.idea/
|
||||
*.sln.iml
|
||||
|
||||
# CodeRush
|
||||
.cr/
|
||||
|
||||
@@ -327,6 +323,3 @@ ASALocalRun/
|
||||
|
||||
# MFractors (Xamarin productivity tool) working folder
|
||||
.mfractor/
|
||||
|
||||
# Local History for Visual Studio
|
||||
.localhistory/
|
||||
@@ -0,0 +1,14 @@
|
||||
aliases:
|
||||
- CSharp
|
||||
- C#
|
||||
- FSharp
|
||||
- F#
|
||||
- VisualBasic
|
||||
- VB
|
||||
|
||||
editors:
|
||||
- Global/JetBrains.gitignore
|
||||
- Global/VisualStudioCode.gitignore
|
||||
|
||||
reviewers:
|
||||
- Brendan Forster (@shiftkey)
|
||||
@@ -0,0 +1,74 @@
|
||||
# Gitignore Metadata
|
||||
|
||||
This document outlines the additional metadata that can be associated with a gitignore template, and how tools can consume this metadata.
|
||||
|
||||
## Metadata Location
|
||||
|
||||
To add additional metadata to a gitignore template, add a new file to the same directory, with the matching name but ending in `yml`.
|
||||
|
||||
For example:
|
||||
- for `C.gitignore` the associated metadata will be stored in `C.yml`
|
||||
- for `Global/JetBrains.gitignore` the metadata file will be `Global/JetBrains.gitignore`
|
||||
|
||||
## Supported Fields
|
||||
|
||||
The structure of these files is still being settled upon, but for the moment these are some proposed entries.
|
||||
|
||||
#### `aliases`
|
||||
|
||||
Some templates can be used to represent a number of different situations, and rather than duplicating files on disk and needing to keep these in sync, we can store a list of these entries as metadata.
|
||||
|
||||
For example, JetBrains has a unified gitignore template that can be applied to all of their IDEs. Previously these were stored as comments in the header:
|
||||
|
||||
```
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
||||
```
|
||||
|
||||
These values can be represented as metadata, so that tools consuming this repository can use these entries as matches if the user is searching for a specific product:
|
||||
|
||||
```yaml
|
||||
aliases:
|
||||
- IntelliJ
|
||||
- RubyMine
|
||||
- PhpStorm
|
||||
- AppCode
|
||||
- PyCharm
|
||||
- CLion
|
||||
- Android Studio
|
||||
- WebStorm
|
||||
- Rider
|
||||
```
|
||||
|
||||
#### `editors`
|
||||
|
||||
There are a number of editors out there that support working with different languages. Rather than baking every editor's rules in every language that is supported, a list of additional templates that might be of interest
|
||||
|
||||
```yaml
|
||||
editors:
|
||||
- Global/JetBrains.gitignore
|
||||
- Global/VisualStudioCode.gitignore
|
||||
```
|
||||
|
||||
#### `reference`
|
||||
|
||||
Some ecosystems have up-to-date documentation about things that are necessary to exclude from version control. To associate this with a template, this could be stored as a key-value pair in metadata:
|
||||
|
||||
```yaml
|
||||
reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
```
|
||||
|
||||
### `reviewers`
|
||||
|
||||
This element is inspired by the [`DefinitelyTyped`](https://github.com/DefinitelyTyped/DefinitelyTyped) project, allowing community members to opt-in to reviewing templates when a pull request is opened. This helps to share the review load and credit people who have been helpful with reviews.
|
||||
|
||||
```yaml
|
||||
reviewers:
|
||||
- @shiftkey
|
||||
```
|
||||
|
||||
A friendly name can be provided alongside the GitHub account name.
|
||||
|
||||
```yaml
|
||||
reviewers:
|
||||
- Brendan Forster (@shiftkey)
|
||||
```
|
||||
Reference in new issue
Block a user