From 0aa41c10343b04e9bec29c8b51d816ed0a8b1e0f Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 21 Sep 2022 15:15:24 +0200 Subject: [PATCH 01/19] Update Python.gitignore --- Python.gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Python.gitignore b/Python.gitignore index 68bc17f9..9f96f5a0 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -158,3 +158,6 @@ 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/ + +# Streamlit +.streamlit/secrets.toml From b4e8ec3d3916cbc04b15d8f818118ce836306bba Mon Sep 17 00:00:00 2001 From: Knut Guettel <98009677+Tc-KGu@users.noreply.github.com> Date: Fri, 8 Sep 2023 12:58:47 +0200 Subject: [PATCH 02/19] Update TwinCAT3.gitignore with the existing .gitignore in this repo, which can be select directly in the VS 2022 if you create a new repo, our customers have a lot of problems. thats why we suggest this update --- TwinCAT3.gitignore | 55 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 7bd6f875..18260cd6 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -1,25 +1,46 @@ -# gitignore template for TwinCAT3 +### TwinCAT3 ### # website: https://www.beckhoff.com/twincat3/ -# -# Recommended: VisualStudio.gitignore -# TwinCAT files +# TwinCAT PLC +*.plcproj.bak +*.plcproj.orig *.tpy *.tclrs +*.library *.compiled-library *.compileinfo -# Don't include the tmc-file rule if either of the following is true: -# 1. You've got TwinCAT C++ projects, as the information in the TMC-file is created manually for the C++ projects (in that case, only (manually) ignore the tmc-files for the PLC projects) -# 2. You've created a standalone PLC-project and added events to it, as these are stored in the TMC-file. -*.tmc -*.tmcRefac -*.library -*.project.~u -*.tsproj.bak -*.xti.bak +*.asm +*.core LineIDs.dbg LineIDs.dbg.bak -_Boot/ -_CompileInfo/ -_Libraries/ -_ModuleInstall/ \ No newline at end of file + +# TwinCAT C++ and shared types +# ignoring the TMC file is only useful for plain PLC programming +# as soon as shared data types (via tmc), C++ or in general TcCom-Module are used, the TMC file has to be part of the repository +*.tmc +*.tmcRefac + +# TwinCAT project files +*.tsproj.bak +*.tsproj.b?k +*.tsproj.orig +*.xti.bak +*.xti.b?k +*.xti.orig + +# Multiuser specific +**/.TcGit/ + +# exclude not required folders +**/_Boot/ +**/_CompileInfo/ +**/_Libraries/ +**/_ModuleInstall/ +**/_Deployment/ +**/_Repository/ + +# VS Shell project specific files +*.~u +*.project.~u +*.suo +.vs/ From e5f3eb0f8e66cdc0bd239d284ba7179a5ccaa8d9 Mon Sep 17 00:00:00 2001 From: Knut Guettel <98009677+Tc-KGu@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:33:52 +0200 Subject: [PATCH 03/19] Update TwinCAT3.gitignore update according to the latest product changes --- TwinCAT3.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 18260cd6..69ac18f3 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -27,6 +27,8 @@ LineIDs.dbg.bak *.xti.bak *.xti.b?k *.xti.orig +*.xtv +*.xtv.bak # Multiuser specific **/.TcGit/ From e85314a60d13a1d8cc59738315003cb0ef89ad39 Mon Sep 17 00:00:00 2001 From: Knut Guettel <98009677+Tc-KGu@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:40:23 +0200 Subject: [PATCH 04/19] Update TwinCAT3.gitignore --- TwinCAT3.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 69ac18f3..6a178c89 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -29,6 +29,7 @@ LineIDs.dbg.bak *.xti.orig *.xtv *.xtv.bak +*.xtv.b?k # Multiuser specific **/.TcGit/ From 51d81ece6ee4206fb45d08976977aa680219b14d Mon Sep 17 00:00:00 2001 From: Knut Guettel <98009677+Tc-KGu@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:04:37 +0200 Subject: [PATCH 05/19] Update TwinCAT3.gitignore --- TwinCAT3.gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 6a178c89..7bb2f985 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -25,11 +25,11 @@ LineIDs.dbg.bak *.tsproj.b?k *.tsproj.orig *.xti.bak -*.xti.b?k +*.xti.bk? *.xti.orig *.xtv *.xtv.bak -*.xtv.b?k +*.xtv.bk? # Multiuser specific **/.TcGit/ From 9332fca160a9b4bb7a523566dd0eebd263d37d4e Mon Sep 17 00:00:00 2001 From: Knut Guettel <98009677+Tc-KGu@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:47:48 +0200 Subject: [PATCH 06/19] Update TwinCAT3.gitignore Merge of several entries --- TwinCAT3.gitignore | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 7bb2f985..60df0cd3 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -24,12 +24,9 @@ LineIDs.dbg.bak *.tsproj.bak *.tsproj.b?k *.tsproj.orig -*.xti.bak -*.xti.bk? -*.xti.orig -*.xtv -*.xtv.bak -*.xtv.bk? +*.xt?.bak +*.xt?.bk? +*.xt?.orig # Multiuser specific **/.TcGit/ From 9c784698ea54dec6b6a82aad13d193d7d9e87749 Mon Sep 17 00:00:00 2001 From: guangwu Date: Fri, 8 Mar 2024 13:39:32 +0800 Subject: [PATCH 07/19] fix: typo --- community/Bazel.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community/Bazel.gitignore b/community/Bazel.gitignore index bc3afc20..4e1d5a2b 100644 --- a/community/Bazel.gitignore +++ b/community/Bazel.gitignore @@ -6,7 +6,7 @@ /bazel-* # Directories for the Bazel IntelliJ plugin containing the generated -# IntelliJ project files and plugin configuration. Seperate directories are +# IntelliJ project files and plugin configuration. Separate directories are # for the IntelliJ, Android Studio and CLion versions of the plugin. /.ijwb/ /.aswb/ From 00c65098c0aae846fb1809ad01ee6a1b543ae108 Mon Sep 17 00:00:00 2001 From: Rachit S <133040544+RScrafted@users.noreply.github.com> Date: Sun, 2 Jun 2024 17:40:41 +0100 Subject: [PATCH 08/19] Update Terraform.gitignore Added line to ignore graph file('s). --- Terraform.gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Terraform.gitignore b/Terraform.gitignore index 15073ca8..3b94be8f 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -38,3 +38,6 @@ terraform.rc # Ignore hcl file .terraform.lock.hcl + +# Ignore graph file +*.dot From b2d1fcee655df1b1c00dc9b3222c40606dab710f Mon Sep 17 00:00:00 2001 From: Rachit Sheth <133040544+iamrachitsheth@users.noreply.github.com> Date: Thu, 6 Jun 2024 00:14:16 +0100 Subject: [PATCH 09/19] Added other files and extension to ignore to strengthen the terraform.gitignore template --- Terraform.gitignore | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Terraform.gitignore b/Terraform.gitignore index 1ef2f1bb..6bc03245 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -39,6 +39,17 @@ terraform.rc # Ignore hcl file .terraform.lock.hcl +# Ignore graph files +*.dot -# Ignore graph file -*.dot \ No newline at end of file +# Ignore lock.hcl +*.terraform.* + +# to skip MacOS file found after creating .bicep +.DS_Store + +# plan files (optional). To save plan before destroy +planout + +# Ignore tfplan files, saved during terraform plan execution +*.out \ No newline at end of file From 92eba048f725bb2d6fb2a9465039eb6796600b97 Mon Sep 17 00:00:00 2001 From: Rachit Sheth <133040544+iamrachitsheth@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:31:26 +0100 Subject: [PATCH 10/19] Changes completed as per the standard. --- Terraform.gitignore | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Terraform.gitignore b/Terraform.gitignore index 6bc03245..53421ca6 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -36,19 +36,17 @@ override.tf.json .terraformrc terraform.rc -# Ignore hcl file +# Ignore hcl files .terraform.lock.hcl +*.terraform.* # Ignore graph files *.dot -# Ignore lock.hcl -*.terraform.* - -# to skip MacOS file found after creating .bicep +# to skip MacOS custom attributes. It appears when creating a .bicep file. .DS_Store -# plan files (optional). To save plan before destroy +# Ignore plan files (optional) as some might save plan before destroy the terraform configuration planout # Ignore tfplan files, saved during terraform plan execution From eda97ee98047fb4e4d5afc8e2064cf45d0fa764b Mon Sep 17 00:00:00 2001 From: Rachit Sheth <133040544+iamrachitsheth@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:26:45 +0100 Subject: [PATCH 11/19] ignored vscode settings --- Terraform.gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Terraform.gitignore b/Terraform.gitignore index 53421ca6..ff6db793 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -50,4 +50,7 @@ terraform.rc planout # Ignore tfplan files, saved during terraform plan execution -*.out \ No newline at end of file +*.out + +# Ignore Visual Studio Code customized settings (this folder holds .json file) +.vscode \ No newline at end of file From 105082db0691bd829df79b2cd693343f10877832 Mon Sep 17 00:00:00 2001 From: gh658804 Date: Wed, 2 Jul 2025 22:44:18 +0300 Subject: [PATCH 12/19] Update VisualStudio.gitignore - remove *.vbp extension Remove *.vbp extension. Such files are the main Visual Basic 6 Project Files and should not be ignored. It's like ignoring .csproj or .vbproj files in .NET projects. --- VisualStudio.gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index ce892922..cfb18bbe 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -310,9 +310,6 @@ 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 From 3bfa4f45a6361c30445c6ef770064ad35a9ed065 Mon Sep 17 00:00:00 2001 From: Knut Guettel <98009677+Tc-KGu@users.noreply.github.com> Date: Tue, 8 Jul 2025 08:55:49 +0200 Subject: [PATCH 13/19] Update TwinCAT3.gitignore --- TwinCAT3.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 575b5196..2339b3fa 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -29,6 +29,7 @@ LineIDs.dbg.bak *.xti.bk? *.xti.orig *.xtv +*.xtv.bak *.xtv.bk? *.xt?.bk? *.xt?.orig From bdc996bb1f65d98792119284bf1abedaa698e6a9 Mon Sep 17 00:00:00 2001 From: Justin Su Date: Sun, 13 Jul 2025 15:35:25 -0400 Subject: [PATCH 14/19] Revert "Merge pull request #4633 from Wuhall/main" This reverts commit 9cabb94d2ac2ce0884a114d45683d9be9a45080c. --- Python.gitignore | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index abd8cb78..cb0f8dc8 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -194,13 +194,6 @@ cython_debug/ # PyPI configuration file .pypirc -# Cursor -# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to -# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data -# refer to https://docs.cursor.com/context/ignore-files -.cursorignore -.cursorindexingignore - # Marimo marimo/_static/ marimo/_lsp/ From de16f7faa21d524071db371b4e6eabba620ce9e1 Mon Sep 17 00:00:00 2001 From: Yang <113082249+1234567Yang@users.noreply.github.com> Date: Mon, 14 Jul 2025 13:43:50 -0700 Subject: [PATCH 15/19] x86 and x64 only ignore in debug dir --- VisualStudio.gitignore | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/VisualStudio.gitignore b/VisualStudio.gitignore index cfb18bbe..47a94ef1 100644 --- a/VisualStudio.gitignore +++ b/VisualStudio.gitignore @@ -22,8 +22,21 @@ mono_crash.* [Dd]ebugPublic/ [Rr]elease/ [Rr]eleases/ -x64/ -x86/ + +[Dd]ebug/x64/ +[Dd]ebugPublic/x64/ +[Rr]elease/x64/ +[Rr]eleases/x64/ +bin/x64/ +obj/x64/ + +[Dd]ebug/x86/ +[Dd]ebugPublic/x86/ +[Rr]elease/x86/ +[Rr]eleases/x86/ +bin/x86/ +obj/x86/ + [Ww][Ii][Nn]32/ [Aa][Rr][Mm]/ [Aa][Rr][Mm]64/ From b0b879651fa609c56867d82ebe768d090875200b Mon Sep 17 00:00:00 2001 From: Justin Su Date: Sun, 13 Jul 2025 13:47:20 -0400 Subject: [PATCH 16/19] Update broken virtualenv link --- Global/VirtualEnv.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Global/VirtualEnv.gitignore b/Global/VirtualEnv.gitignore index b2c22f2a..d895d00e 100644 --- a/Global/VirtualEnv.gitignore +++ b/Global/VirtualEnv.gitignore @@ -1,5 +1,5 @@ # Virtualenv -# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/ +# https://realpython.com/python-virtual-environments-a-primer/#the-virtualenv-project .Python [Bb]in [Ii]nclude From 67806c58a04b7be6ece18dd55ce6ac319d8f0866 Mon Sep 17 00:00:00 2001 From: softwaredevelop <61334390+softwaredevelop@users.noreply.github.com> Date: Thu, 17 Jul 2025 16:02:55 +0000 Subject: [PATCH 17/19] Add .gitignore template for MetaTrader 5 / MQL5 --- community/MetaTrader5.gitignore | 57 +++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 community/MetaTrader5.gitignore diff --git a/community/MetaTrader5.gitignore b/community/MetaTrader5.gitignore new file mode 100644 index 00000000..0e235ca7 --- /dev/null +++ b/community/MetaTrader5.gitignore @@ -0,0 +1,57 @@ +# MetaTrader 5 and MQL5 gitignore template +# Project homepage: https://www.metatrader5.com/en + +# 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 + +# Log files +# Terminal logs, strategy tester logs, and custom logs from Print() functions. +*.log +*.slog # Strategy Tester logs + +# 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) + +# 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) + +# External libraries (DLLs) +# If you use custom DLLs, you might want to ignore them if they are built separately +# and not part of your MQL5 source code repository. +*.dll + +# 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) + +# Temporary files and backup files generated by MetaEditor +*.~* # Temporary files (e.g., ~MyScript.mq5) +*.bak # Backup files (e.g., MyScript.mq5.bak) +*.mqh.bak +*.mq5.bak + +# MetaEditor project files +# Project files for MetaEditor workspaces. +.mqproj + +# 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 From 7125e5c434f595efe5b7f7bc84c6e3597cf7e86b Mon Sep 17 00:00:00 2001 From: RScrafted Date: Fri, 18 Jul 2025 11:46:47 +0100 Subject: [PATCH 18/19] Update Terraform.gitignore to reflect reviewer guidance and best practices --- Terraform.gitignore | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/Terraform.gitignore b/Terraform.gitignore index 64a7f1ff..4d20644f 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -36,21 +36,9 @@ override.tf.json .terraformrc terraform.rc -# Ignore hcl files -.terraform.lock.hcl -*.terraform.* - # Ignore graph files *.dot -# to skip MacOS custom attributes. It appears when creating a .bicep file. -.DS_Store - -# Ignore plan files (optional) as some might save plan before destroy the terraform configuration -planout - -# Ignore tfplan files, saved during terraform plan execution -*.out - -# Ignore Visual Studio Code customized settings (this folder holds .json file) -.vscode \ No newline at end of file +# Optional: ignore plan files saved before destroying Terraform configuration +# Uncomment the line below if you want to ignore planout files. +# planout \ No newline at end of file From 2f3c7b3f2ed0cb9c1e21a73d21871ee1c34a4196 Mon Sep 17 00:00:00 2001 From: RScrafted Date: Fri, 18 Jul 2025 11:55:15 +0100 Subject: [PATCH 19/19] Comment out *.dot pattern with note, based on reviewer suggestion --- Terraform.gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Terraform.gitignore b/Terraform.gitignore index 4d20644f..4d91a6b4 100644 --- a/Terraform.gitignore +++ b/Terraform.gitignore @@ -36,8 +36,8 @@ override.tf.json .terraformrc terraform.rc -# Ignore graph files -*.dot +# Optional: ignore graph output files generated by `terraform graph` +# *.dot # Optional: ignore plan files saved before destroying Terraform configuration # Uncomment the line below if you want to ignore planout files.