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 1/6] 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 2/6] 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 3/6] 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 4/6] 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 5/6] 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 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 6/6] 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