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] 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/