diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 883774551dc5070d9bf517e4ed25be487035b04e..87b50cf0d83362db3129fb5a031b43c80a27aef3 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -8,6 +8,9 @@ *.tclrs *.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