From 2bf643736bdafd436169585b9699fabdc5074a0f Mon Sep 17 00:00:00 2001 From: Christian Jordan <90695301+chjordanTE@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:12:15 +0100 Subject: [PATCH] Update TwinCAT3.gitignore Add recommendation from Beckhoff. Infos are from Infosys (PLC) and generated by TwinCAT (HMI) --- TwinCAT3.gitignore | 77 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 63 insertions(+), 14 deletions(-) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 7bd6f875..a8100596 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -3,23 +3,72 @@ # # Recommended: VisualStudio.gitignore -# TwinCAT files +# ********************************************************************************* +# TwinCAT PLC +# https://infosys.beckhoff.com/index.php?content=../content/1031/tc3_sourcecontrol/767894795.html&id= +# ********************************************************************************* +# 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.bk? +*.xti.orig +*.xtv +*.xtv.bak +*.xtv.bk? + +# Multiuser specific +**/.TcGit/ + +# exclude not required folders +**/_Boot/ +**/_CompileInfo/ +**/_Libraries/ +**/_ModuleInstall/ +**/_Deployment/ +**/_Repository/ + +# VS Shell project specific files and folders +**/.vs/ +*.~u +*.project.~u +*.suo +# ********************************************************************************* +# TwinCAT HMI +# ********************************************************************************* +## Ignore TwinCAT HMI temporary files, build results, and +## files generated by popular TwinCAT HMI add-ons. +.engineering_servers/ +tchmipublish.journal.json +liveview_* +*.cache +*.db-shm +*.db-wal +*.pid +**/.hmiframework/ +**/.hmipkgs/ +**/*.d.ts +**/*.js.map + +# other +json-schema.org/