diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 15afee7f..31166006 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,10 @@ +### Link to the application or project's homepage + +_TODO_ + + ### Reasons for making this change _TODO_ @@ -8,16 +15,18 @@ Please provide some background for this change. ### Links to documentation supporting these rule changes _TODO_ - -### If this is a new template - -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 + + +- [ ] I have read the [contribution guidelines](https://github.com/github/gitignore/tree/main?tab=readme-ov-file#contributing-guidelines) and understand my PR will be closed if it doesn't meet these guidelines + + diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index c7dcb74f..6763f938 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0 with: - stale-pr-message: 'This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open :smile:' - close-pr-message: 'This PR has been closed because it was inactive for 180 days. If you want to continue working on it, please open a new PR.' + stale-pr-message: 'This PR is stale because there have been no updates in 90 days. It will close after 365 days of inactivity. Leave a comment if you want to keep it open.' + close-pr-message: 'This PR has been closed because it was inactive for 365 days. If you want to continue working on it, please open a new PR.' days-before-stale: 90 - days-before-close: 180 + days-before-close: 365 stale-pr-label: 'stale' exempt-pr-labels: 'keep' close-issue-reason: not_planned diff --git a/AL.gitignore b/AL.gitignore index 02eac698..85daa023 100644 --- a/AL.gitignore +++ b/AL.gitignore @@ -16,7 +16,8 @@ rad.json #Translation Base-file *.g.xlf -#License-file +#License-files +*.bclicense *.flf #Test results file TestResults.xml \ No newline at end of file diff --git a/Agda.gitignore b/Agda.gitignore index 58ab67f0..3f1eedec 100644 --- a/Agda.gitignore +++ b/Agda.gitignore @@ -1,2 +1,2 @@ *.agdai -MAlonzo/** +**/MAlonzo/** diff --git a/C++.gitignore b/C++.gitignore index d4fb2818..cf039d7a 100644 --- a/C++.gitignore +++ b/C++.gitignore @@ -21,6 +21,7 @@ *.so *.dylib *.dll +*.so.* # Fortran module files *.mod @@ -37,5 +38,31 @@ *.out *.app +# Build directories +build/ +Build/ +build-*/ + +# CMake generated files +CMakeFiles/ +CMakeCache.txt +cmake_install.cmake +Makefile +install_manifest.txt +compile_commands.json + +# Temporary files +*.tmp +*.log +*.bak +*.swp + +# vcpkg +vcpkg_installed/ + # debug information files *.dwo + +# test output & cache +Testing/ +.cache/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c6938381..ab8efb28 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,36 +2,46 @@ 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. +Any contributions that don't meet these guidelines will be closed. - **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 a reason for making this 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. + - **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. +- **Keep scope as limited as possible**. Changes should be as small as possible + and apply to the most specific gitignore template available for the target + application. For example: OS-specific ignore rules like `.DS_Store` are not + accepted anywhere but their specific gitignore, `Global/macOS.gitignore` in + this case. -- **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 +- **Only modify *one template* per pull request**. This helps keep pull requests and feedback focused on a specific project or technology. +- **Add new rules to the most appropriate existing section**. Please ensure + your contribution does not create duplicate sections or add rules in + unrelated sections. + +- **No duplicate rules**. It's easy to do, but it creates confusion and + introduces the risk of one or the other being missed in an update. + 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. If a template is mostly a list of files installed by a particular version of some software (e.g. a PHP framework) then it's brittle and probably no more helpful than a simple `ls`. If it's not possible to curate a small set of -useful rules, then the template might not be a good fit for this collection. +useful rules, then the template is not a good fit for this collection. 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, diff --git a/Deno.gitignore b/Deno.gitignore new file mode 100644 index 00000000..2faaca02 --- /dev/null +++ b/Deno.gitignore @@ -0,0 +1,11 @@ +# Deno +# https://deno.com/ + +# Cache directory (when using project-local DENO_DIR) +# https://docs.deno.com/runtime/fundamentals/setup/#deno_dir +.deno/ + +# Coverage reports +# https://docs.deno.com/runtime/reference/cli/coverage/ +coverage/ +*.lcov diff --git a/Global/Agents.gitignore b/Global/Agents.gitignore new file mode 100644 index 00000000..aa75b385 --- /dev/null +++ b/Global/Agents.gitignore @@ -0,0 +1,68 @@ +# AI agents and assistants +# +# Some common agent instruction and project configuration files are listed +# below as commented-out examples. They are often intentionally committed and +# shared with a team, so only uncomment them if they are local-only in your +# project. + +# GEMINI.md +# WARP.md +# CRUSH.md +# QWEN.md + +# OpenAI Codex +# AGENTS.md +# .codex/ + +# Aider +.aider.input.history +.aider.chat.history.md +.aider.llm.history +.aider.tags.cache.v* +# .aiderignore + +# Claude Code +.claude/*.local.json +.claude/**/*.log +CLAUDE.local.md +# .claude/ + +# Gemini CLI +gemini-debug.log +.gemini-clipboard/ +# .gemini/ + +# Cursor AI +# .cursorrules +# .cursor/ +# .cursor.json +# .cursor-settings.yaml + +# Continue +# .continue/ +# .continuerc.json + +# Cline +# .cline/ +# .clinerules +# cline.json + +# Other agent/editor project config +# .warp/ +# .crush/ +# .codeium/ +# .deepseek/ +# .amazon-codewhisperer/ +# .tabnineignore +# .tabnine/ + +# GitHub Copilot +# .github/copilot-instructions.md + +# Windsurf Editor +# .windsurfrules +# .windsurf/ + +# Replit AI Development +# .replit +# replit.nix diff --git a/Global/Ansible.gitignore b/Global/Ansible.gitignore index 7eaa6e28..7ca0eec5 100644 --- a/Global/Ansible.gitignore +++ b/Global/Ansible.gitignore @@ -1,2 +1,5 @@ -*.retry +# The default root path for Ansible config files on the controller .ansible/ + +# Retry files generated for failed Ansible playbook runs +*.retry diff --git a/Global/Backup.gitignore b/Global/Backup.gitignore index 825ce52d..99a00d3a 100644 --- a/Global/Backup.gitignore +++ b/Global/Backup.gitignore @@ -1,5 +1,17 @@ +# Generic backup files *.bak +*.back +*.backup + +# Norton Ghost backup files *.gho + +# Generic original files *.ori *.orig +*.original + +# Generic temporary files *.tmp +*.temp +*.temporary diff --git a/Global/JetBrains.gitignore b/Global/JetBrains.gitignore index 0c1302b4..6e0af9c4 100644 --- a/Global/JetBrains.gitignore +++ b/Global/JetBrains.gitignore @@ -63,7 +63,8 @@ atlassian-ide-plugin.xml # SonarLint plugin .idea/sonarlint/ -.idea/sonarlint.xml # see https://community.sonarsource.com/t/is-the-file-idea-idea-idea-sonarlint-xml-intended-to-be-under-source-control/121119 +# see https://community.sonarsource.com/t/is-the-file-idea-idea-idea-sonarlint-xml-intended-to-be-under-source-control/121119 +.idea/sonarlint.xml # Crashlytics plugin (for Android Studio and IntelliJ) com_crashlytics_export_strings.xml diff --git a/Global/MATLAB.gitignore b/Global/MATLAB.gitignore index 92061b1d..6724bee3 100644 --- a/Global/MATLAB.gitignore +++ b/Global/MATLAB.gitignore @@ -4,6 +4,7 @@ *.autosave *.slx.r* *.mdl.r* +*.bak # Derived content-obscured files *.p diff --git a/Global/OhMyOpenAgent.gitignore b/Global/OhMyOpenAgent.gitignore new file mode 100644 index 00000000..1db73771 --- /dev/null +++ b/Global/OhMyOpenAgent.gitignore @@ -0,0 +1,2 @@ +.sisyphus/* +!.sisyphus/rules/ diff --git a/Global/VirtualEnv.gitignore b/Global/VirtualEnv.gitignore index d895d00e..018afbf5 100644 --- a/Global/VirtualEnv.gitignore +++ b/Global/VirtualEnv.gitignore @@ -1,5 +1,16 @@ # Virtualenv # https://realpython.com/python-virtual-environments-a-primer/#the-virtualenv-project +.venv/ +venv/ +.python-version + +# pyenv: Simple Python Version Management +pyvenv.cfg + +# pip: package installer for Python +pip-selfcheck.json + +# Custom python interpreter .Python [Bb]in [Ii]nclude @@ -7,6 +18,3 @@ [Ll]ib64 [Ll]ocal [Ss]cripts -pyvenv.cfg -.venv -pip-selfcheck.json diff --git a/Global/VisualStudioCode.gitignore b/Global/VisualStudioCode.gitignore index b72ba8b5..12ee62bb 100644 --- a/Global/VisualStudioCode.gitignore +++ b/Global/VisualStudioCode.gitignore @@ -1,3 +1,4 @@ +# Visual Studio Code .vscode/* !.vscode/settings.json !.vscode/tasks.json diff --git a/Global/Zed.gitignore b/Global/Zed.gitignore new file mode 100644 index 00000000..bf14e0ef --- /dev/null +++ b/Global/Zed.gitignore @@ -0,0 +1,10 @@ +# Zed +# https://zed.dev/docs/configuring-zed#settings-files +# +# Zed stores project settings in a .zed/ directory, similar to .vscode/. +# By default, ignore the directory but allow commonly shared config files. + +.zed/* +!.zed/settings.json +!.zed/tasks.json +!.zed/debug.json diff --git a/Global/macOS.gitignore b/Global/macOS.gitignore index a4557fba..e5328c06 100644 --- a/Global/macOS.gitignore +++ b/Global/macOS.gitignore @@ -1,14 +1,15 @@ # General .DS_Store +.localized __MACOSX/ .AppleDouble .LSOverride Icon[ ] -# Thumbnails +# Resource forks ._* -# Files that might appear in the root of a volume +# Files and directories that might appear in the root of a volume .DocumentRevisions-V100 .fseventsd .Spotlight-V100 @@ -16,6 +17,15 @@ Icon[ ] .Trashes .VolumeIcon.icns .com.apple.timemachine.donotpresent +.com.apple.timemachine.supported +.PKInstallSandboxManager +.PKInstallSandboxManager-SystemSoftware +.hotfiles.btree +.vol +.file +.disk_label* +lost+found +.HFS+ Private Directory Data[ ] # Directories potentially created on remote AFP share .AppleDB @@ -23,3 +33,25 @@ Icon[ ] Network Trash Folder Temporary Items .apdisk + +# Mac OS 6 to 9 +Desktop DB +Desktop DF +TheFindByContentFolder +TheVolumeSettingsFolder +.FBCIndex +.FBCSemaphoreFile +.FBCLockFolder + +# Quota system +.quota.group +.quota.user +.quota.ops.group +.quota.ops.user + +# TimeMachine +Backups.backupdb +.MobileBackups +.MobileBackups.trash +MobileBackups.trash +tmbootpicker.efi diff --git a/Godot.gitignore b/Godot.gitignore index e00df843..d872c410 100644 --- a/Godot.gitignore +++ b/Godot.gitignore @@ -1,3 +1,6 @@ +# Godot 4.2+ specific ignores +~*.dll + # Godot 4+ specific ignores .godot/ .nomedia diff --git a/Gradle.gitignore b/Gradle.gitignore index 296d3f00..903ca7fe 100644 --- a/Gradle.gitignore +++ b/Gradle.gitignore @@ -8,7 +8,7 @@ gradle-app.setting # Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) !gradle-wrapper.jar -# Avoid ignore Gradle wrappper properties +# Avoid ignore Gradle wrapper properties !gradle-wrapper.properties # Cache of project diff --git a/HIP.gitignore b/HIP.gitignore index 5f3324cf..6eb329b1 100644 --- a/HIP.gitignore +++ b/HIP.gitignore @@ -5,46 +5,81 @@ # Official AMD ROCm HIP .gitignore: https://github.com/ROCm/hip/blob/amd-staging/.gitignore # 1. Build directories and files -/build/ # common build directory -/CMakeFiles/ # CMake internal files -/CMakeCache.txt # CMake cache file -/Makefile # autogenerated Makefile -/cmake_install.cmake # install script -/install_manifest.txt # install manifest list -*.ninja-dep # Ninja dependency files -*.ninja_log # Ninja log files -meson-logs/ # Meson log directory +# common build directory +/build/ +# CMake internal files +/CMakeFiles/ +# CMake cache file +/CMakeCache.txt +# autogenerated Makefile +/Makefile +# install script +/cmake_install.cmake +# install manifest list +/install_manifest.txt +# Ninja dependency files +*.ninja-dep +# Ninja log files +*.ninja_log +# Meson log directory +meson-logs/ # 2. Compilation outputs and intermediates -*.o # object files -*.obj # Windows object files -*.so # shared libraries -*.a # static librarie -*.d # dependency files -*.gch # precompiled headers -*.ii # preprocessed output -*.ii.cpp # C++ preprocessed output -*.out # generic executable outputs -*.exe # Windows executables +# object files +*.o +# Windows object files +*.obj +# shared libraries +*.so +# static librarie +*.a +# dependency files +*.d +# precompiled headers +*.gch +# preprocessed output +*.ii +# C++ preprocessed output +*.ii.cpp +# generic executable outputs +*.out +# Windows executables +*.exe # 3. HIP/ROCm specific binaries and intermediates -*.hsaco # ROCm compiled binary -*.s # assembly output -*.kernels.cpp # autogenerated kernel sources -*.hip.cpp.* # hipcc intermediate outputs +# ROCm compiled binary +*.hsaco +# assembly output +*.s +# autogenerated kernel sources +*.kernels.cpp +# hipcc intermediate outputs +*.hip.cpp.* # 4. Official sample binaries and tutorial outputs -bin/hipInfo # sample binary -bin/hipBusBandwidth # sample binary -bin/hipDispatchLatency # sample binary -bin/hipify-clang # sample tool -samples/**/*.out # tutorial outputs -samples/**/*.code # ISA/code dumps -samples/**/*.hsaco # compiled binaries -samples/**/*.co # kernel code outputs +# sample binary +bin/hipInfo +# sample binary +bin/hipBusBandwidth +# sample binary +bin/hipDispatchLatency +# sample tool +bin/hipify-clang +# tutorial outputs +samples/**/*.out +# ISA/code dumps +samples/**/*.code +# compiled binaries +samples/**/*.hsaco +# kernel code outputs +samples/**/*.co # 5. Tags, logs and test outputs -tags # ctags index -*.log # log files -/tests_output/ # custom test output directory -/samples_output/ # custom sample output directory +# ctags index +tags +# log files +*.log +# custom test output directory +/tests_output/ +# custom sample output directory +/samples_output/ diff --git a/KiCad.gitignore b/KiCad.gitignore index 9d5df933..45def523 100644 --- a/KiCad.gitignore +++ b/KiCad.gitignore @@ -36,5 +36,8 @@ fp-info-cache # Archived Backups (KiCad 6.0) **/*-backups/*.zip +# Local git-based history (KiCad 9.0+) +.history + # Local project settings *.kicad_prl diff --git a/Lasal.gitignore b/Lasal.gitignore new file mode 100644 index 00000000..ca6417e2 --- /dev/null +++ b/Lasal.gitignore @@ -0,0 +1,47 @@ +## LASAL ### +# website: https://www.sigmatek-automation.com/en/products/engineering-tool-lasal/ + +# lasal screen/visu runtime folders generated during build +**/Runtime +**/BAK +**/Language +**/TempPreview + +# lasal class runtime folders generated during build +ProjectInternal +Internal +**/Network/*/*.st +**/Drive/*.st + +# bootdisk files +**/Bootdisk + +# various filetypes generated at runtime or used for internal backups +*.ldi +*.bak +*.lob +*.lba +*.lcb +*.lock +*.plc +*.7z +*.zip +*.lcc +*.lds + +# tag files generated by the compiler +*.mme +**/MaeExp.txt +**/MaeExp.xml + +# SigCLib requires lba and lob files +!cObjLib.lob +!cObjLib.lba + +# opc related classes added automatically from lasal instance +!**/Class/OPC_UA/** +!**/Class/OPC_UA_Client/** +!**/Class/OPC_UA_Server/** +!**/Class/OPC_UA_ModuleBase/** +!**/Class/OPC_UA_AddressSpace/** +!**/Class/OPC_UA_OpenSSL_v1_1_1/** diff --git a/Lean.gitignore b/Lean.gitignore new file mode 100644 index 00000000..d4aa2921 --- /dev/null +++ b/Lean.gitignore @@ -0,0 +1,2 @@ +# cache and other artifacts produced by Lean's Lake build tool +.lake/ diff --git a/Maven.gitignore b/Maven.gitignore index 6d706b8d..d681b6ad 100644 --- a/Maven.gitignore +++ b/Maven.gitignore @@ -7,7 +7,7 @@ release.properties dependency-reduced-pom.xml buildNumber.properties .mvn/timing.properties -# https://maven.apache.org/wrapper/#usage-without-binary-jar +# https://maven.apache.org/tools/wrapper/#Usage_with_or_without_Binary_JAR .mvn/wrapper/maven-wrapper.jar # Eclipse m2e generated files diff --git a/MoonBit.gitignore b/MoonBit.gitignore new file mode 100644 index 00000000..b4ddc16d --- /dev/null +++ b/MoonBit.gitignore @@ -0,0 +1,53 @@ +# Build System Artifacts + +# MoonBit default build output directory. +_build/ +# Local MoonBit package cache directory. +.mooncakes/ + +# Coverage and Test Artifacts + +# Coverage reports generated by MoonBit tooling. +moonbit-coverage-*.txt +# Coverage output directory used by coverage commands. +_coverage/ +# Bisect runtime coverage data file. +bisect.coverage + +# JavaScript Target Artifacts + +# Uncomment if generated JavaScript should be ignored. +# *.js +# Source map files generated for JavaScript output. +*.js.map +# Node.js dependencies used in JS target workflows. +node_modules/ + +# WebAssembly Target Artifacts + +# Compiled WebAssembly binaries. +*.wasm +# WebAssembly text format output. +*.wat + +# MoonBit Pilot / Agent Artifacts + +# MoonBit agent runtime state and temporary files. +.moonagent/ + +# LLVM Backend Artifacts + +# LLVM textual intermediate representation (IR) files. +*.ll +# LLVM bitcode files. +*.bc +# Native object files from LLVM/native compilation. +*.o +# Generated assembly source files. +*.s +# Default executable output name on Unix-like systems. +*.out +# Native executable output on Windows. +*.exe +# macOS debug symbol bundles. +*.dSYM/ diff --git a/Nix.gitignore b/Nix.gitignore index 912e6700..a3575848 100644 --- a/Nix.gitignore +++ b/Nix.gitignore @@ -4,3 +4,6 @@ result-* # Ignore automatically generated direnv output .direnv + +# Ignore NixOS interactive test driver history +**/.nixos-test-history diff --git a/Node.gitignore b/Node.gitignore index 0ccb8df8..872d5f6c 100644 --- a/Node.gitignore +++ b/Node.gitignore @@ -92,9 +92,8 @@ dist # vuepress build output .vuepress/dist -# vuepress v2.x temp and cache directory +# vuepress v2.x temp directory .temp -.cache # Sveltekit cache directory .svelte-kit/ @@ -126,6 +125,9 @@ dist # Stores VSCode versions used for testing VSCode extensions .vscode-test +# pnpm +.pnpm-store + # yarn v3 .pnp.* .yarn/* diff --git a/Python.gitignore b/Python.gitignore index e15106e3..b3ec7d5e 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -47,6 +47,7 @@ nosetests.xml coverage.xml *.cover *.py.cover +*.lcov .hypothesis/ .pytest_cache/ cover/ @@ -122,13 +123,14 @@ ipython_config.py # pixi.lock # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one # in the .venv directory. It is recommended not to include this directory in version control. -.pixi +.pixi/* +!.pixi/config.toml # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm __pypackages__/ # Celery stuff -celerybeat-schedule +celerybeat-schedule* celerybeat.pid # Redis @@ -200,6 +202,8 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. However, if you prefer, # you could uncomment the following to ignore the entire vscode folder # .vscode/ +# Temporary file for partial code execution +tempCodeRunnerFile.py # Ruff stuff: .ruff_cache/ diff --git a/Qt.gitignore b/Qt.gitignore index 7f4826b4..f417ad0d 100644 --- a/Qt.gitignore +++ b/Qt.gitignore @@ -29,8 +29,10 @@ ui_*.h *.jsc Makefile* *build-* +build/ *.qm *.prl +*.qmlls.ini # Qt unit tests target_wrapper.* diff --git a/README.md b/README.md index a2ef0245..7a653799 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,15 @@ We support a collection of templates, organized in this way: or merge these rules into your project-specific templates if you want to use them permanently. - [`community`](./community) contains specialized templates for other popular - languages, tools and project, which don't currently belong in the mainstream + languages, tools, and projects that don't currently belong in the mainstream templates. These should be added to your project-specific templates when you decide to adopt the framework or tool. ## What makes a good template? +First and foremost, a template contribution must adhere to our +[Contributing Guidelines](CONTRIBUTING.md). + A template should contain a set of rules to help Git repositories work with a specific programming language, framework, tool or environment. @@ -50,7 +53,7 @@ If you have a small set of rules, or want to support a technology that is not widely in use, and still believe this will be helpful to others, please read the section about [specialized templates](#specialized-templates) for more details. -Include details when opening pull request if the template is important and visible. We +Include details when opening a pull request if the template is important and visible. We may not accept it immediately, but we can promote it to the root at a later date based on interest. @@ -61,33 +64,7 @@ include your language, tool, or project, it’s not because it’s not awesome. ## Contributing guidelines -We’d love for 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 is 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 see our [Contributing Guidelines](CONTRIBUTING.md). ## Versioned templates @@ -153,3 +130,4 @@ by automatically forking the project and prompting to send a pull request too. ## License [CC0-1.0](./LICENSE). + diff --git a/Rust.gitignore b/Rust.gitignore index ad679558..c3ec7d27 100644 --- a/Rust.gitignore +++ b/Rust.gitignore @@ -13,6 +13,9 @@ target # Contains mutation testing data **/mutants.out*/ +# rustc will dump stack traces when hitting an internal compiler error to PWD +rustc-ice-*.txt + # RustRover # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore diff --git a/Scala.gitignore b/Scala.gitignore index 7169cab1..22eb384e 100644 --- a/Scala.gitignore +++ b/Scala.gitignore @@ -1,4 +1,5 @@ *.class +*.tasty *.log # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml diff --git a/SolidWorks.gitignore b/SolidWorks.gitignore new file mode 100644 index 00000000..8e35f973 --- /dev/null +++ b/SolidWorks.gitignore @@ -0,0 +1,20 @@ +# gitignore file for a SolidWorks project + +# SolidWorks temporary files +~$*.sldprt +~$*.sldasm +~$*.slddrw +~$*.sld + +# For systems with case-sensitive (SolidWorks uses both) +~$*.SLDPRT +~$*.SLDASM +~$*.SLDDRW +~$*.SLD + +# SolidWorks backups and auto-recovery +*.bak +*.swbak + +# Cache of simulation results +/simulation_results/ diff --git a/TeX.gitignore b/TeX.gitignore index 9308a4b6..542f7143 100644 --- a/TeX.gitignore +++ b/TeX.gitignore @@ -75,6 +75,11 @@ acs-*.bib # comment *.cut +# context +*.tuc +*.tui +*.tuo + # cprotect *.cpt diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 6786d5e8..1b120968 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -55,3 +55,6 @@ LineIDs.dbg.bak *.~u *.project.~u *.suo + +# TwinCAT Measurement +*.vsm diff --git a/Unity.gitignore b/Unity.gitignore index 06e73068..36a696a5 100644 --- a/Unity.gitignore +++ b/Unity.gitignore @@ -2,6 +2,9 @@ # # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore # +# Recommended: add any editor/OS/tool-specific ignore rules from the Global/ templates as needed. +# See: https://github.com/github/gitignore/tree/main/Global +# .utmp/ /[Ll]ibrary/ /[Tt]emp/ @@ -43,6 +46,7 @@ ExportedObj/ *.csproj *.unityproj *.sln +*.slnx *.suo *.tmp *.user @@ -100,3 +104,5 @@ InitTestScene*.unity* # UI Toolkit auto generated files /UIElementsSchema +# Auto-generated cache in Assets folder +/[Aa]ssets/[Ss]ceneDependencyCache* diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index 47a94ef1..d5a18dee 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -86,6 +86,7 @@ BenchmarkDotNet.Artifacts/ project.lock.json project.fragment.lock.json artifacts/ +.artifacts/ # ASP.NET Scaffolding ScaffoldingReadMe.txt diff --git a/WordPress.gitignore b/WordPress.gitignore index 54696693..8b933fa2 100644 --- a/WordPress.gitignore +++ b/WordPress.gitignore @@ -1,4 +1,4 @@ -# Wordpress - ignore core, configuration, examples, uploads and logs. +# WordPress - ignore core, configuration, examples, uploads and logs. # https://github.com/github/gitignore/blob/main/WordPress.gitignore # Core @@ -45,4 +45,4 @@ wp-config.php # # Note: If you wish to whitelist themes, # uncomment the next line -#/wp-content/themes \ No newline at end of file +#/wp-content/themes diff --git a/bun.gitignore b/bun.gitignore new file mode 100644 index 00000000..9703c86b --- /dev/null +++ b/bun.gitignore @@ -0,0 +1,113 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# database +*.sqlite + +# package-json +package-json.lock + +# bun deploy file +node_modules.bun + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# Next.js build output +.next + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and *not* Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port diff --git a/community/FreeCAD.gitignore b/community/FreeCAD.gitignore new file mode 100644 index 00000000..21e1231a --- /dev/null +++ b/community/FreeCAD.gitignore @@ -0,0 +1,5 @@ +# FreeCAD backup and temporary files +*.FC.lock +*.bak +*.FCBak +*.tmp \ No newline at end of file diff --git a/community/HOL.gitignore b/community/HOL.gitignore new file mode 100644 index 00000000..da703dc2 --- /dev/null +++ b/community/HOL.gitignore @@ -0,0 +1,11 @@ +*Script + +# Holmake generated files +*Theory.sig +*Theory.sml +*.uo +*.ui + +# Holmake auxiliary files +.hollogs +.HOLMK diff --git a/community/JavaScript/Expo.gitignore b/community/JavaScript/Expo.gitignore index 164986e1..3e8c3561 100644 --- a/community/JavaScript/Expo.gitignore +++ b/community/JavaScript/Expo.gitignore @@ -11,15 +11,22 @@ node_modules/ # Expo local state and caches -.expo/ # runtime state (Metro bundler, dev-client data, tunnels) -.expo-shared/ # shared project settings (app.json edits, etc.) +# runtime state (Metro bundler, dev-client data, tunnels) +.expo/ +# shared project settings (app.json edits, etc.) +.expo-shared/ # Metro bundler caches/logs -*.expo # generic Expo temp files -*.tunnel # Expo DevTools tunnels -*.cache # Metro cache folder -*.tmp # temp files created during bundling -*.log # build or Metro logs +# generic Expo temp files +*.expo +# Expo DevTools tunnels +*.tunnel +# Metro cache folder +*.cache +# temp files created during bundling +*.tmp +# build or Metro logs +*.log # Environment variables .env diff --git a/community/MetaTrader5.gitignore b/community/MetaTrader5.gitignore index 0e235ca7..21fef0aa 100644 --- a/community/MetaTrader5.gitignore +++ b/community/MetaTrader5.gitignore @@ -4,27 +4,38 @@ # Compiled MQL5 executables (binaries) # These are generated from .mq5 source files and should not be committed. *.ex5 -*.ex4 # For MQL4 compatibility if you also manage MT4 projects in a similar structure +# For MQL4 compatibility if you also manage MT4 projects in a similar structure +*.ex4 # Log files # Terminal logs, strategy tester logs, and custom logs from Print() functions. *.log -*.slog # Strategy Tester logs +# Strategy Tester logs +*.slog # Strategy Tester specific files # History data, optimization results, and temporary files used by the tester. -*.fxt # FXT files (history data for testing) -*.hst # History data files (can be large) -*.ini # Initialization files (often generated by tester or EAs) -*.dat # Data files (various purposes, often temporary) -*.csv # CSV export files (e.g., from tester reports) -*.jrn # Journal files (tester journal) +# FXT files (history data for testing) +*.fxt +# History data files (can be large) +*.hst +# Initialization files (often generated by tester or EAs) +*.ini +# Data files (various purposes, often temporary) +*.dat +# CSV export files (e.g., from tester reports) +*.csv +# Journal files (tester journal) +*.jrn # Market Watch sets and profiles # User-specific lists of symbols in Market Watch, and terminal profiles. -*.set # Market Watch symbol sets -*.tpl # Chart templates -*.chr # Chart settings files (can be generated when saving templates or profiles) +# Market Watch symbol sets +*.set +# Chart templates +*.tpl +# Chart settings files (can be generated when saving templates or profiles) +*.chr # External libraries (DLLs) # If you use custom DLLs, you might want to ignore them if they are built separately @@ -33,14 +44,19 @@ # User-specific configuration and credentials # Files containing sensitive information or local user settings. -.env # Environment variables (e.g., for Python integration credentials) -*.cfg # Configuration files (if not meant to be shared) -*.json # Be careful: if you have config JSONs you *do* want to commit, add specific exceptions. - # Example: !config.json (to include config.json but ignore other *.json) +# Environment variables (e.g., for Python integration credentials) +.env +# Configuration files (if not meant to be shared) +*.cfg +# Be careful: if you have config JSONs you *do* want to commit, add specific exceptions. +*.json +# Example: !config.json (to include config.json but ignore other *.json) # Temporary files and backup files generated by MetaEditor -*.~* # Temporary files (e.g., ~MyScript.mq5) -*.bak # Backup files (e.g., MyScript.mq5.bak) +# Temporary files (e.g., ~MyScript.mq5) +*.~* +# Backup files (e.g., MyScript.mq5.bak) +*.bak *.mqh.bak *.mq5.bak @@ -51,7 +67,11 @@ # Python specific ignores (if you also keep Python scripts or Jupyter notebooks in this repository) # These are relevant if your Git repo root is higher up (e.g., the terminal folder itself) # or if you mix Python code within your MQL5 structure. -__pycache__/ # Python compiled bytecode cache -.ipynb_checkpoints/ # Jupyter Notebook checkpoints -*.pyc # Python compiled files -*.pyd # Python dynamic modules +# Python compiled bytecode cache +__pycache__/ +# Jupyter Notebook checkpoints +.ipynb_checkpoints/ +# Python compiled files +*.pyc +# Python dynamic modules +*.pyd diff --git a/community/Tauri.gitignore b/community/Tauri.gitignore new file mode 100644 index 00000000..1b1bc54f --- /dev/null +++ b/community/Tauri.gitignore @@ -0,0 +1,12 @@ +# Tauri +# https://tauri.app/ +# +# Recommended: Rust.gitignore + +# Rust compilation output +# https://doc.rust-lang.org/cargo/guide/build-cache.html +target/ + +# WiX Toolset cache (Windows MSI installer builds) +# https://v2.tauri.app/distribute/windows-installer/ +WixTools/ diff --git a/community/embedded/Microchip_MPLAB_X_IDE.gitignore b/community/embedded/Microchip_MPLAB_X_IDE.gitignore new file mode 100644 index 00000000..7ad82b9a --- /dev/null +++ b/community/embedded/Microchip_MPLAB_X_IDE.gitignore @@ -0,0 +1,27 @@ +#============================================================================= +# Microchip MPLAB X IDE .gitignore file. +# +# MPLABX: https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide +# +# MPLABX Version Control:- +# https://developerhelp.microchip.com/xwiki/bin/view/software-tools/ides/x/version-control/working-with-version-control/ +#----------------------------------------------------------------------------- + +# MPLAB X (NetBeans) Project files +**/*.X/nbproject/private/ +**/*.X/nbproject/Makefile-* +**/*.X/nbproject/Package-* +!**/*.X/nbproject/*.xml + +# MPLAB X Generated Files and Build Output +**/*.X/.generated_files/ +**/*.X/build/ +**/*.X/dist/ +**/*.X/debug/ + +# MPLAB Code Configurator (MCC) +**/*.X/mcc_generated_files/ +**/*.X/mcc-manifest-*.yml + +#----------------------------------------------------------------------------- +