diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 247a5b56..b87add4e 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,5 @@ **Reasons for making this change:** + _TODO_ diff --git a/AL.gitignore b/AL.gitignore new file mode 100644 index 00000000..02eac698 --- /dev/null +++ b/AL.gitignore @@ -0,0 +1,22 @@ +### AL ### +#Template for AL projects for Dynamics 365 Business Central +#launch.json folder +.vscode/ +#Cache folder +.alcache/ +#Symbols folder +.alpackages/ +#Snapshots folder +.snapshots/ +#Testing Output folder +.output/ +#Extension App-file +*.app +#Rapid Application Development File +rad.json +#Translation Base-file +*.g.xlf +#License-file +*.flf +#Test results file +TestResults.xml \ No newline at end of file diff --git a/Android.gitignore b/Android.gitignore index 5d18272e..a68e5b57 100644 --- a/Android.gitignore +++ b/Android.gitignore @@ -1,22 +1,3 @@ -# Built application files -*.apk -*.aar -*.ap_ -*.aab - -# Files for the ART/Dalvik VM -*.dex - -# Java class files -*.class - -# Generated files -bin/ -gen/ -out/ -# Uncomment the following line in case you need and you don't have the release build type files in your app -# release/ - # Gradle files .gradle/ build/ @@ -24,66 +5,26 @@ build/ # Local configuration file (sdk path, etc) local.properties -# Proguard folder generated by Eclipse -proguard/ - -# Log Files +# Log/OS Files *.log -# Android Studio Navigation editor temp files -.navigation/ - -# Android Studio captures folder +# Android Studio generated files and folders captures/ +.externalNativeBuild/ +.cxx/ +*.apk +output.json # IntelliJ *.iml -.idea/workspace.xml -.idea/tasks.xml -.idea/gradle.xml -.idea/assetWizardSettings.xml -.idea/dictionaries -.idea/libraries -.idea/jarRepositories.xml -# Android Studio 3 in .gitignore file. -.idea/caches -.idea/modules.xml -# Comment next line if keeping position of elements in Navigation Editor is relevant for you -.idea/navEditor.xml +.idea/ # Keystore files -# Uncomment the following lines if you do not want to check your keystore files in. -#*.jks -#*.keystore - -# External native build folder generated in Android Studio 2.2 and later -.externalNativeBuild -.cxx/ +*.jks +*.keystore # Google Services (e.g. APIs or Firebase) -# google-services.json - -# Freeline -freeline.py -freeline/ -freeline_project_description.json - -# fastlane -fastlane/report.xml -fastlane/Preview.html -fastlane/screenshots -fastlane/test_output -fastlane/readme.md - -# Version control -vcs.xml - -# lint -lint/intermediates/ -lint/generated/ -lint/outputs/ -lint/tmp/ -# lint/reports/ +google-services.json # Android Profiling *.hprof diff --git a/Global/AL.gitignore b/Global/AL.gitignore new file mode 100644 index 00000000..3cdf36b7 --- /dev/null +++ b/Global/AL.gitignore @@ -0,0 +1,11 @@ +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ +*.app +.snapshots/* diff --git a/Global/Syncthing.gitignore b/Global/Syncthing.gitignore new file mode 100644 index 00000000..e18c9a8b --- /dev/null +++ b/Global/Syncthing.gitignore @@ -0,0 +1,2 @@ +# Syncthing caches +.stversions diff --git a/Global/VisualStudioCode.gitignore b/Global/VisualStudioCode.gitignore index 85813e1c..299380b4 100644 --- a/Global/VisualStudioCode.gitignore +++ b/Global/VisualStudioCode.gitignore @@ -1,9 +1,9 @@ -.vscode/* +.vscode/ !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json -*.code-workspace +!.vscode/*.code-snippets # Local History for Visual Studio Code .history/ diff --git a/Go.gitignore b/Go.gitignore index 66fd13c9..de67df5e 100644 --- a/Go.gitignore +++ b/Go.gitignore @@ -13,3 +13,6 @@ # Dependency directories (remove the comment below to include it) # vendor/ + +# Go workspace file +go.work diff --git a/Idris.gitignore b/Idris.gitignore index c28bc7cc..0f4e72c7 100644 --- a/Idris.gitignore +++ b/Idris.gitignore @@ -1,2 +1,7 @@ +# Idris 2 +*.ttc +*.ttm + +# Idris 1 *.ibc *.o diff --git a/Java.gitignore b/Java.gitignore index a1c2a238..524f0963 100644 --- a/Java.gitignore +++ b/Java.gitignore @@ -21,3 +21,4 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* +replay_pid* diff --git a/KiCad.gitignore b/KiCad.gitignore index bd70969a..a568379c 100644 --- a/KiCad.gitignore +++ b/KiCad.gitignore @@ -1,5 +1,5 @@ -# For PCBs designed using KiCad: http://www.kicad-pcb.org/ -# Format documentation: http://kicad-pcb.org/help/file-formats/ +# For PCBs designed using KiCad: https://www.kicad.org/ +# Format documentation: https://kicad.org/help/file-formats/ # Temporary files *.000 diff --git a/Node.gitignore b/Node.gitignore index 0125458e..96fd2254 100644 --- a/Node.gitignore +++ b/Node.gitignore @@ -54,6 +54,9 @@ web_modules/ # Optional eslint cache .eslintcache +# Optional stylelint cache +.stylelintcache + # Microbundle cache .rpt2_cache/ .rts2_cache_cjs/ @@ -70,9 +73,10 @@ web_modules/ .yarn-integrity # dotenv environment variables file -.env -.env.test -.env.production +.env.development.local +.env.test.local +.env.production.local +.env.local # parcel-bundler cache (https://parceljs.org/) .cache @@ -95,6 +99,10 @@ dist # vuepress build output .vuepress/dist +# vuepress v2.x temp and cache directory +.temp +.cache + # Serverless directories .serverless/ diff --git a/Python.gitignore b/Python.gitignore index 34b344a5..f83416d9 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -94,6 +94,13 @@ ipython_config.py # install all needed dependencies. #Pipfile.lock +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + # PEP 582; used by e.g. github.com/David-OConnor/pyflow __pypackages__/ @@ -139,3 +146,10 @@ cython_debug/ # VSCode import helper PythonImportHelper-v2-Completion.json + +# PyCharm +# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ diff --git a/R.gitignore b/R.gitignore index da10c745..e75435c1 100644 --- a/R.gitignore +++ b/R.gitignore @@ -4,6 +4,7 @@ # Session Data files .RData +.RDataTmp # User-specific files .Ruserdata @@ -43,3 +44,6 @@ docs/ # translation temp files po/*~ + +# RStudio Connect folder +rsconnect/ diff --git a/README.md b/README.md index a2ffb7d5..7014eed7 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ We support a collection of templates, organized in this way: unimportant files into your repository. - [`Global`](./Global) contains templates for various editors, tools and operating systems that can be used in different situations. It is recommended - that you either [add these to your global template](https://help.github.com/articles/ignoring-files/#create-a-global-gitignore) + that you either [add these to your global template](https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer) or merge these rules into your project-specific templates if you want to use them permanently. - [`community`](./community) contains specialized templates for other popular @@ -141,7 +141,7 @@ 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. +4. [Send a pull request][pr] from your fork’s branch to our `main` 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. diff --git a/Rails.gitignore b/Rails.gitignore index ae9df644..c55bb713 100644 --- a/Rails.gitignore +++ b/Rails.gitignore @@ -27,7 +27,7 @@ config/master.key # dotenv, dotenv-rails # TODO Comment out these rules if environment variables can be committed .env -.env.* +.env*.local ## Environment normalization: /.bundle diff --git a/TeX.gitignore b/TeX.gitignore index 237f49eb..e9642441 100644 --- a/TeX.gitignore +++ b/TeX.gitignore @@ -111,10 +111,17 @@ acs-*.bib *.glsdefs *.lzo *.lzs +*.slg +*.slo +*.sls # uncomment this for glossaries-extra (will ignore makeindex's style files!) # *.ist +# gnuplot +*.gnuplot +*.table + # gnuplottex *-gnuplottex-* @@ -189,6 +196,9 @@ _minted* # scrwfile *.wrt +# svg +svg-inkscape/ + # sympy *.sout *.sympy @@ -213,6 +223,9 @@ pythontex-files-*/ *.md5 *.auxlock +# titletoc +*.ptc + # todonotes *.tdo diff --git a/Umbraco.gitignore b/Umbraco.gitignore index 1f186d0f..d4d9e9f7 100644 --- a/Umbraco.gitignore +++ b/Umbraco.gitignore @@ -1,6 +1,6 @@ ## Ignore Umbraco files/folders generated for each instance ## -## Get latest from https://github.com/github/gitignore/blob/master/Umbraco.gitignore +## Get latest from https://github.com/github/gitignore/blob/main/Umbraco.gitignore # Note: VisualStudio gitignore rules may also be relevant diff --git a/Unity.gitignore b/Unity.gitignore index 72c27e4f..58cbc825 100644 --- a/Unity.gitignore +++ b/Unity.gitignore @@ -1,6 +1,6 @@ # This .gitignore file should be placed at the root of your Unity project directory # -# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore +# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore # /[Ll]ibrary/ /[Tt]emp/ @@ -14,8 +14,8 @@ # They also could contain extremely sensitive data /[Mm]emoryCaptures/ -# Asset meta data should only be ignored when the corresponding asset is also ignored -!/[Aa]ssets/**/*.meta +# Recordings can get excessive in size +/[Rr]ecordings/ # Uncomment this line if you wish to ignore the asset store tools plugin # /[Aa]ssets/AssetStoreTools* @@ -59,6 +59,7 @@ sysinfo.txt *.apk *.aab *.unitypackage +*.app # Crashlytics generated file crashlytics-build.properties diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index 34c8dee4..426d76dd 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -1,7 +1,7 @@ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## -## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore # User-specific files *.rsuser @@ -206,9 +206,6 @@ PublishScripts/ *.nuget.props *.nuget.targets -# Nuget personal access tokens and Credentials -nuget.config - # Microsoft Azure Build Output csx/ *.build.csdef @@ -297,6 +294,17 @@ node_modules/ # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) *.vbw +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files +*.ncb +*.aps + # Visual Studio LightSwitch build output **/*.HTMLClient/GeneratedArtifacts **/*.DesktopClient/GeneratedArtifacts @@ -353,6 +361,9 @@ ASALocalRun/ # Local History for Visual Studio .localhistory/ +# Visual Studio History (VSHistory) files +.vshistory/ + # BeatPulse healthcheck temp database healthchecksdb @@ -384,5 +395,4 @@ FodyWeavers.xsd *.msp # JetBrains Rider -.idea/ *.sln.iml diff --git a/WordPress.gitignore b/WordPress.gitignore index a32768a9..54696693 100644 --- a/WordPress.gitignore +++ b/WordPress.gitignore @@ -1,23 +1,48 @@ -# ignore everything in the root except the "wp-content" directory. -!wp-content/ +# Wordpress - ignore core, configuration, examples, uploads and logs. +# https://github.com/github/gitignore/blob/main/WordPress.gitignore -# ignore everything in the "wp-content" directory, except: -# "mu-plugins", "plugins", "themes" directory -wp-content/* -!wp-content/mu-plugins/ -!wp-content/plugins/ -!wp-content/themes/ +# Core +# +# Note: if you want to stage/commit WP core files +# you can delete this whole section/until Configuration. +/wp-admin/ +/wp-content/index.php +/wp-content/languages +/wp-content/plugins/index.php +/wp-content/themes/index.php +/wp-includes/ +/index.php +/license.txt +/readme.html +/wp-*.php +/xmlrpc.php -# ignore these plugins -wp-content/plugins/hello.php +# Configuration +wp-config.php -# ignore specific themes -wp-content/themes/twenty*/ +# Example themes +/wp-content/themes/twenty*/ -# ignore node dependency directories -node_modules/ +# Example plugin +/wp-content/plugins/hello.php -# ignore log files and databases +# Uploads +/wp-content/uploads/ + +# Log files *.log -*.sql -*.sqlite + +# htaccess +/.htaccess + +# All plugins +# +# Note: If you wish to whitelist plugins, +# uncomment the next line +#/wp-content/plugins + +# All themes +# +# Note: If you wish to whitelist themes, +# uncomment the next line +#/wp-content/themes \ No newline at end of file diff --git a/community/Bazel.gitignore b/community/Bazel.gitignore index a08ff486..bc3afc20 100644 --- a/community/Bazel.gitignore +++ b/community/Bazel.gitignore @@ -4,3 +4,10 @@ # Ignore all bazel-* symlinks. There is no full list since this can change # based on the name of the directory bazel is cloned into. /bazel-* + +# Directories for the Bazel IntelliJ plugin containing the generated +# IntelliJ project files and plugin configuration. Seperate directories are +# for the IntelliJ, Android Studio and CLion versions of the plugin. +/.ijwb/ +/.aswb/ +/.clwb/ diff --git a/community/Beef.gitignore b/community/Beef.gitignore new file mode 100644 index 00000000..5c26f6a2 --- /dev/null +++ b/community/Beef.gitignore @@ -0,0 +1,3 @@ +build/ +recovery/ +BeefSpace_User.toml diff --git a/community/Golang/Go.AllowList.gitignore b/community/Golang/Go.AllowList.gitignore new file mode 100644 index 00000000..a309a018 --- /dev/null +++ b/community/Golang/Go.AllowList.gitignore @@ -0,0 +1,23 @@ +# Allowlisting gitignore template for GO projects prevents us +# from adding various unwanted local files, such as generated +# files, developer configurations or IDE-specific files etc. +# +# Recommended: Go.AllowList.gitignore + +# Ignore everything +* + +# But not these files... +!/.gitignore + +!*.go +!go.sum +!go.mod + +!README.md +!LICENSE + +# !Makefile + +# ...even if they are in subdirectories +!*/ diff --git a/community/Golang/Hugo.gitignore b/community/Golang/Hugo.gitignore index 37fa330e..86c95ef4 100644 --- a/community/Golang/Hugo.gitignore +++ b/community/Golang/Hugo.gitignore @@ -1,8 +1,13 @@ # Generated files by hugo /public/ /resources/_gen/ +/assets/jsconfig.json +hugo_stats.json # Executable may be added to repository hugo.exe hugo.darwin hugo.linux + +# Temporary lock file while building +/.hugo_build.lock diff --git a/community/LensStudio.gitignore b/community/LensStudio.gitignore new file mode 100644 index 00000000..5aa2e950 --- /dev/null +++ b/community/LensStudio.gitignore @@ -0,0 +1,16 @@ +# gitignore template for LensStudio +# website: https://lensstudio.snapchat.com/ + +# macOS/IDE # +.DS_Store +.idea + +# js # +node_modules +yarn.lock + +# Python # +__pycache__/ +*.py[cod] +*$py.class +[Bb]ackup*