diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b87add4e..15afee7f 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,12 +1,23 @@ -**Reasons for making this change:** - +### Reasons for making this change + +_TODO_ + + +### Links to documentation supporting these rule changes _TODO_ -**Links to documentation supporting these rule changes:** + -_TODO_ +### If this is a new template -If this is a new template: +Link to application or project’s homepage: TODO - - **Link to application or project’s homepage**: _TODO_ +### Merge and Approval Steps +- [ ] Confirm that you've read the [contribution guidelines](https://github.com/github/gitignore/tree/main?tab=readme-ov-file#contributing-guidelines) and ensured your PR aligns +- [ ] Ensure CI is passing +- [ ] Get a review and Approval from one of the maintainers diff --git a/Dotnet.gitignore b/Dotnet.gitignore new file mode 100644 index 00000000..35063fc7 --- /dev/null +++ b/Dotnet.gitignore @@ -0,0 +1,54 @@ +## A streamlined .gitignore for modern .NET projects +## including temporary files, build results, and +## files generated by popular .NET tools. If you are +## developing with Visual Studio, the VS .gitignore +## https://github.com/github/gitignore/blob/main/VisualStudio.gitignore +## has more thorough IDE-specific entries. +## +## Get latest from https://github.com/github/gitignore/blob/main/Dotnet.gitignore + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg + +# Others +~$* +*~ +CodeCoverage/ + +# MSBuild Binary and Structured Log +*.binlog + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml \ No newline at end of file diff --git a/Elisp.gitignore b/Elisp.gitignore index 206569dc..adef969d 100644 --- a/Elisp.gitignore +++ b/Elisp.gitignore @@ -2,7 +2,13 @@ *.elc # Packaging -.cask +.cask/ +.eask/ +.eldev/ +.keg/ + +# Built distribution +dist/ # Backup files *~ diff --git a/Firebase.gitignore b/Firebase.gitignore new file mode 100644 index 00000000..55b8b0ea --- /dev/null +++ b/Firebase.gitignore @@ -0,0 +1,28 @@ +# Firebase build and deployment files +/firebase-debug.log +/firebase-debug.*.log +.firebaserc + +# Firebase Hosting +/firebase.json +*.cache +hosting/.cache + +# Firebase Functions +/functions/node_modules/ +/functions/.env +/functions/package-lock.json + +# Firebase Emulators +/firebase-*.zip +/.firebase/ +/emulator-ui/ + +# Logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Environment files (local configs) +/.env.* diff --git a/Flutter.gitignore b/Flutter.gitignore new file mode 100644 index 00000000..39b8814a --- /dev/null +++ b/Flutter.gitignore @@ -0,0 +1,119 @@ +# Miscellaneous +*.class +*.lock +*.log +*.pyc +*.swp +.buildlog/ +.history + + + +# Flutter repo-specific +/bin/cache/ +/bin/internal/bootstrap.bat +/bin/internal/bootstrap.sh +/bin/mingit/ +/dev/benchmarks/mega_gallery/ +/dev/bots/.recipe_deps +/dev/bots/android_tools/ +/dev/devicelab/ABresults*.json +/dev/docs/doc/ +/dev/docs/flutter.docs.zip +/dev/docs/lib/ +/dev/docs/pubspec.yaml +/dev/integration_tests/**/xcuserdata +/dev/integration_tests/**/Pods +/packages/flutter/coverage/ +version +analysis_benchmark.json + +# packages file containing multi-root paths +.packages.generated + +# Flutter/Dart/Pub related +**/doc/api/ +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies +**/generated_plugin_registrant.dart +.packages +.pub-preload-cache/ +.pub/ +build/ +flutter_*.png +linked_*.ds +unlinked.ds +unlinked_spec.ds + +# Android related +**/android/**/gradle-wrapper.jar +.gradle/ +**/android/captures/ +**/android/gradlew +**/android/gradlew.bat +**/android/local.properties +**/android/**/GeneratedPluginRegistrant.java +**/android/key.properties +*.jks + +# iOS/XCode related +**/ios/**/*.mode1v3 +**/ios/**/*.mode2v3 +**/ios/**/*.moved-aside +**/ios/**/*.pbxuser +**/ios/**/*.perspectivev3 +**/ios/**/*sync/ +**/ios/**/.sconsign.dblite +**/ios/**/.tags* +**/ios/**/.vagrant/ +**/ios/**/DerivedData/ +**/ios/**/Icon? +**/ios/**/Pods/ +**/ios/**/.symlinks/ +**/ios/**/profile +**/ios/**/xcuserdata +**/ios/.generated/ +**/ios/Flutter/.last_build_id +**/ios/Flutter/App.framework +**/ios/Flutter/Flutter.framework +**/ios/Flutter/Flutter.podspec +**/ios/Flutter/Generated.xcconfig +**/ios/Flutter/ephemeral +**/ios/Flutter/app.flx +**/ios/Flutter/app.zip +**/ios/Flutter/flutter_assets/ +**/ios/Flutter/flutter_export_environment.sh +**/ios/ServiceDefinitions.json +**/ios/Runner/GeneratedPluginRegistrant.* + +# macOS +**/Flutter/ephemeral/ +**/Pods/ +**/macos/Flutter/GeneratedPluginRegistrant.swift +**/macos/Flutter/ephemeral +**/xcuserdata/ + +# Windows +**/windows/flutter/generated_plugin_registrant.cc +**/windows/flutter/generated_plugin_registrant.h +**/windows/flutter/generated_plugins.cmake + +# Linux +**/linux/flutter/generated_plugin_registrant.cc +**/linux/flutter/generated_plugin_registrant.h +**/linux/flutter/generated_plugins.cmake + +# Coverage +coverage/ + +# Symbols +app.*.symbols + +# Exceptions to above rules. +!**/ios/**/default.mode1v3 +!**/ios/**/default.mode2v3 +!**/ios/**/default.pbxuser +!**/ios/**/default.perspectivev3 +!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages +!/dev/ci/**/Gemfile.lock \ No newline at end of file diff --git a/Godot.gitignore b/Godot.gitignore index d9aac213..bb711806 100644 --- a/Godot.gitignore +++ b/Godot.gitignore @@ -4,7 +4,7 @@ # Godot-specific ignores .import/ export.cfg -export_presets.cfg +export_credentials.cfg # Imported translations (automatically generated from CSV files) *.translation diff --git a/KiCad.gitignore b/KiCad.gitignore index a63bc0e7..59fde34c 100644 --- a/KiCad.gitignore +++ b/KiCad.gitignore @@ -16,6 +16,8 @@ _autosave-* *-save.pro *-save.kicad_pcb fp-info-cache +~*.lck +\#auto_saved_files# # Netlist files (exported from Eeschema) *.net diff --git a/Kotlin.gitignore b/Kotlin.gitignore deleted file mode 120000 index c48376ee..00000000 --- a/Kotlin.gitignore +++ /dev/null @@ -1 +0,0 @@ -Java.gitignore \ No newline at end of file diff --git a/Kotlin.gitignore b/Kotlin.gitignore new file mode 100644 index 00000000..566e06bf --- /dev/null +++ b/Kotlin.gitignore @@ -0,0 +1,27 @@ +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* +replay_pid* + +# Kotlin Gradle plugin data, see https://kotlinlang.org/docs/whatsnew20.html#new-directory-for-kotlin-data-in-gradle-projects +.kotlin/ \ No newline at end of file diff --git a/Laravel.gitignore b/Laravel.gitignore index 297959a1..d5673e32 100644 --- a/Laravel.gitignore +++ b/Laravel.gitignore @@ -21,3 +21,10 @@ Homestead.yaml Homestead.json /.vagrant .phpunit.result.cache + +/public/build +/storage/pail +.env.backup +.env.production +.phpactor.json +auth.json diff --git a/Luau.gitignore b/Luau.gitignore new file mode 100644 index 00000000..f7ecbc96 --- /dev/null +++ b/Luau.gitignore @@ -0,0 +1,14 @@ +# A fast, small, safe, gradually typed embeddable scripting language derived from Lua +# +# https://github.com/luau-lang/luau +# https://luau.org/ + +# Code coverage +coverage.out + +# Profiling +profile.out +profile.svg + +# Time trace +trace.json diff --git a/Modelica.gitignore b/Modelica.gitignore new file mode 100644 index 00000000..aa2cc996 --- /dev/null +++ b/Modelica.gitignore @@ -0,0 +1,42 @@ +# Modelica - an object-oriented language for modeling of cyber-physical systems +# https://modelica.org/ +# Ignore temporary files, build results, simulation files + +## Modelica-specific files +*~ +*.bak +*.bak-mo +*.mof +\#*\# +*.moe +*.mol + +## Build artefacts +*.exe +*.exp +*.o +*.pyc + +## Simulation files +*.mat + +## Package files +*.gz +*.rar +*.tar +*.zip + +## Dymola-specific files +buildlog.txt +dsfinal.txt +dsin.txt +dslog.txt +dsmodel* +dsres.txt +dymosim* +request +stat +status +stop +success +*. diff --git a/Node.gitignore b/Node.gitignore index c6bba591..1170717c 100644 --- a/Node.gitignore +++ b/Node.gitignore @@ -104,6 +104,12 @@ dist .temp .cache +# vitepress build output +**/.vitepress/dist + +# vitepress cache directory +**/.vitepress/cache + # Docusaurus cache and generated files .docusaurus diff --git a/Objective-C.gitignore b/Objective-C.gitignore index 9b8cd070..2ebce16e 100644 --- a/Objective-C.gitignore +++ b/Objective-C.gitignore @@ -42,10 +42,3 @@ 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/ diff --git a/Python.gitignore b/Python.gitignore index 82f92755..0a197900 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -94,6 +94,12 @@ ipython_config.py # install all needed dependencies. #Pipfile.lock +# UV +# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +#uv.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 @@ -160,3 +166,9 @@ cython_debug/ # 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/ + +# Ruff stuff: +.ruff_cache/ + +# PyPI configuration file +.pypirc diff --git a/README.md b/README.md index 7014eed7..c43b1d0e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ the following resources are a great place to start: [man]: http://git-scm.com/docs/gitignore [help]: https://help.github.com/articles/ignoring-files -[chapter]: https://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository#_ignoring +[chapter]: https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#_ignoring [progit]: http://git-scm.com/book ## Folder structure diff --git a/ReScript.gitignore b/ReScript.gitignore new file mode 100644 index 00000000..b7364c93 --- /dev/null +++ b/ReScript.gitignore @@ -0,0 +1,3 @@ +/node_modules/ +/lib/ +.bsb.lock diff --git a/Rust.gitignore b/Rust.gitignore index d01bd1a9..0104787a 100644 --- a/Rust.gitignore +++ b/Rust.gitignore @@ -3,10 +3,6 @@ debug/ target/ -# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries -# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html -Cargo.lock - # These are backup files generated by rustfmt **/*.rs.bk diff --git a/TeX.gitignore b/TeX.gitignore index a1f52120..5a5b1c62 100644 --- a/TeX.gitignore +++ b/TeX.gitignore @@ -26,7 +26,9 @@ ## Bibliography auxiliary files (bibtex/biblatex/biber): *.bbl +*.bbl-SAVE-ERROR *.bcf +*.bcf-SAVE-ERROR *.blg *-blx.aux *-blx.bib diff --git a/Unity.gitignore b/Unity.gitignore index 58cbc825..efec83d8 100644 --- a/Unity.gitignore +++ b/Unity.gitignore @@ -2,6 +2,7 @@ # # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore # +.utmp/ /[Ll]ibrary/ /[Tt]emp/ /[Oo]bj/ @@ -59,6 +60,7 @@ sysinfo.txt *.apk *.aab *.unitypackage +*.unitypackage.meta *.app # Crashlytics generated file diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index 8a30d258..a4fe18bd 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -82,6 +82,8 @@ StyleCopReport.xml *.pgc *.pgd *.rsp +# but not Directory.Build.rsp, as it configures directory-level build defaults +!Directory.Build.rsp *.sbr *.tlb *.tli diff --git a/Zig.gitignore b/Zig.gitignore new file mode 100644 index 00000000..3389c86c --- /dev/null +++ b/Zig.gitignore @@ -0,0 +1,2 @@ +.zig-cache/ +zig-out/ diff --git a/community/Alteryx.gitignore b/community/Alteryx.gitignore index a8e1341f..8fe3c5cd 100644 --- a/community/Alteryx.gitignore +++ b/community/Alteryx.gitignore @@ -29,7 +29,7 @@ CASS.ini *.gzlc ## gitignore reference sites -# https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files +# https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#_ignoring # https://git-scm.com/docs/gitignore # https://help.github.com/articles/ignoring-files/ diff --git a/community/AutomationStudio.gitignore b/community/AutomationStudio.gitignore new file mode 100644 index 00000000..b5552b17 --- /dev/null +++ b/community/AutomationStudio.gitignore @@ -0,0 +1,31 @@ +# gitignore template for B&R Automation Studio (AS) 4 +# website: https://www.br-automation.com/en-us/products/software/automation-software/automation-studio/ + +# AS temporary directories +Binaries/ +Diagnosis/ +Temp/ +TempObjects/ + +# AS transfer files +*artransfer.br +*arTrsfmode.nv + +# 'ignored' directory +ignored/ + +# ARNC0ext +*arnc0ext.br + +# AS File types +*.bak +*.isopen +*.orig +*.log +*.asar +*.csvlog* +*.set +!**/Physical/**/*.set + +# RevInfo variables +*RevInfo.var diff --git a/community/Hexo.gitignore b/community/Hexo.gitignore new file mode 100644 index 00000000..570a5e7b --- /dev/null +++ b/community/Hexo.gitignore @@ -0,0 +1,14 @@ +# gitignore template for Hexo sites +# website: https://hexo.io/ +# Recommended: Node.gitignore + +# Ignore generated directory +public/ + +# Ignore temp files +tmp/ +.tmp* + +# additional files +db.json +.deploy*/ diff --git a/community/Move.gitignore b/community/Move.gitignore new file mode 100644 index 00000000..b7d406e7 --- /dev/null +++ b/community/Move.gitignore @@ -0,0 +1,6 @@ +# Generated by Move +# will have compiled files +build/ + +# Remove possibly saving credentials to the git repository +.aptos/ diff --git a/community/Nix.gitignore b/community/Nix.gitignore index 1fd04ef1..912e6700 100644 --- a/community/Nix.gitignore +++ b/community/Nix.gitignore @@ -1,3 +1,6 @@ # Ignore build outputs from performing a nix-build or `nix build` command result result-* + +# Ignore automatically generated direnv output +.direnv diff --git a/community/Obsidian/NotesAndCoreConfiguration.gitignore b/community/Obsidian/NotesAndCoreConfiguration.gitignore new file mode 100644 index 00000000..4eff01da --- /dev/null +++ b/community/Obsidian/NotesAndCoreConfiguration.gitignore @@ -0,0 +1,16 @@ +# Excludes Obsidian workspace cache and plugins. All notes and core obsidian +# configuration files are tracked by Git. + +# The current application UI state (DOM layout, recently-opened files, etc.) is +# stored in these files (separate for desktop and mobile) so you can resume +# your session seamlessly after a restart. If you want to track UI state, use +# the Workspaces core plugin instead of relying on these files. +.obsidian/workspace.json +.obsidian/workspace-mobile.json + +# Obsidian plugins are stored under .obsidian/plugins/$plugin_name. They +# contain metadata (manifest.json), application code (main.js), stylesheets +# (styles.css), and user-configuration data (data.json). +# We want to exclude all plugin-related files, so we can exclude everything +# under this directory. +.obsidian/plugins/**/* diff --git a/community/Obsidian/NotesAndExtendedConfiguration.gitignore b/community/Obsidian/NotesAndExtendedConfiguration.gitignore new file mode 100644 index 00000000..3e0804f2 --- /dev/null +++ b/community/Obsidian/NotesAndExtendedConfiguration.gitignore @@ -0,0 +1,38 @@ +# Excludes Obsidian workspace cache and plugin code, but retains plugin +# configuration. All notes and user-controlled configuration files are tracked +# by Git. +# +# !!! WARNING !!! +# +# Community plugins may store sensitive secrets in their data.json files. By +# including these files, those secrets may be tracked in your Git repository. +# +# To ignore configurations for specific plugins, add a line like this after the +# contents of this file (order is important): +# .obsidian/plugins/{{plugin_name}}/data.json +# +# Alternatively, ensure that you are treating your entire Git repository as +# sensitive data, since it may contain secrets, or may have contained them in +# past commits. Understand your threat profile, and make the decision +# appropriate for yourself. If in doubt, err on the side of not including +# plugin configuration. Use one of the alternative gitignore files instead: +# * NotesOnly.gitignore +# * NotesAndCoreConfiguration.gitignore + +# The current application UI state (DOM layout, recently-opened files, etc.) is +# stored in these files (separate for desktop and mobile) so you can resume +# your session seamlessly after a restart. If you want to track UI state, use +# the Workspaces core plugin instead of relying on these files. +.obsidian/workspace.json +.obsidian/workspace-mobile.json + +# Obsidian plugins are stored under .obsidian/plugins/$plugin_name. They +# contain metadata (manifest.json), application code (main.js), stylesheets +# (styles.css), and user-configuration data (data.json). +# We only want to track data.json, so we: +# 1. exclude everything under the plugins directory recursively, +# 2. unignore the plugin directories themselves, which then allows us to +# 3. unignore the data.json files +.obsidian/plugins/**/* +!.obsidian/plugins/*/ +!.obsidian/plugins/*/data.json diff --git a/community/Obsidian/NotesOnly.gitignore b/community/Obsidian/NotesOnly.gitignore new file mode 100644 index 00000000..2b3b76ee --- /dev/null +++ b/community/Obsidian/NotesOnly.gitignore @@ -0,0 +1,4 @@ +# Excludes all Obsidian-related configuration. All notes are tracked by Git. + +# All Obsidian configuration and runtime state is stored here +.obsidian/**/* diff --git a/community/OpenTofu.gitignore b/community/OpenTofu.gitignore new file mode 100644 index 00000000..0c736af6 --- /dev/null +++ b/community/OpenTofu.gitignore @@ -0,0 +1,42 @@ +# Local .terraform directories +**/.terraform/* + +# .tfstate files +*.tfstate +*.tfstate.* + +# Crash log files +crash.log +crash.*.log + +# Exclude all .tfvars files, which are likely to contain sensitive data, such as +# password, private keys, and other secrets. These should not be part of version +# control as they are data points which are potentially sensitive and subject +# to change depending on the environment. +*.tfvars +*.tfvars.json + +# Ignore override files as they are usually used to override resources locally and so +# are not checked in +override.tf +override.tofu +override.tf.json +override.tofu.json +*_override.tf +*_override.tofu +*_override.tf.json +*_override.tofu.json + +# Ignore transient lock info files created by tofu apply +.terraform.tfstate.lock.info + +# Include override files you do wish to add to version control using negated pattern +# !example_override.tf +# !example_override.tofu + +# Include tfplan files to ignore the plan output of command: tofu plan -out=tfplan +# example: *tfplan* + +# Ignore CLI configuration files +.terraformrc +terraform.rc diff --git a/community/Terragrunt.gitignore b/community/Terragrunt.gitignore new file mode 100644 index 00000000..ea480863 --- /dev/null +++ b/community/Terragrunt.gitignore @@ -0,0 +1,3 @@ +# Ignore the default terragrunt cache directory +# https://terragrunt.gruntwork.io/docs/features/caching/ +.terragrunt-cache diff --git a/ecu.test.gitignore b/ecu.test.gitignore new file mode 100644 index 00000000..4514f440 --- /dev/null +++ b/ecu.test.gitignore @@ -0,0 +1,66 @@ +# gitignore template for ecu.test workspaces - by tracetronic https://tracetronic.com +# website: https://www.ecu-test.com +# * all directories are related to the default directories, please adapt the .gitignore if you use customized directories + +# Dynamic workspace settings +# * We don't recommend to ignore the .workspace directory, because of important +# * project specific settings +# * local user settings +.workspace/ETdrive.xml +.workspace/favorites.xml +.workspace/filters.xml +.workspace/generators.xml +.workspace/history.xml +.workspace/parallelExecution.xml +.workspace/signalviewer.xml +.workspace/signalViewerHistory.json +.workspace/signalviewer2layout.xml +.workspace/testeditor.xml +.workspace/tooladapter.xml +.workspace/view.xml +# optional, if your process depends on this file remove exclusion +.workspace/attributeLists.xml +.workspace/interactiveexecution.xml +.workspace/protocol.xml +.workspace/pythonlibrary.xml +# deprecated, support for older versions +.workspace/traceexplorer.xml + +# Custom file formats and test dependencies +# * you can manage your artifacts also with test.guide (https://www.test-guide.info) and reference them via Playbooks +*.arxml +*.a2l +*.dbc +*.hex +*.s19 +[tT]estdata +[tT]estdaten + +# Test results and test execution related content +# * Git is not intended to store and provide test results for all iterations +# * We recommend to use test.guide (https://www.test-guide.info) for the test report management +TestReports + +# Report generators and templates +# * if you want to provide (f.e.) your own report generators exclude the directory here and ignore only the unnecessary subdirectories +Templates + +# optional, default for external Python libraries +PyLibs + +# Exclude large binary artifacts +# * you can manage your artifacts also with test.guide (https://www.test-guide.info) and reference them via Playbooks +Offline-FIUs +Offline-Models +Offline-SGBDs +*.exe +*.msi +*.zip +*.7z + +# Exclude default and custom temporary directories +Backup_* + +# Python bytecode and cache files +__pycache__/ +*.py[cod]