Update TwinCAT3.gitignore

A recent major revision from Beckhoff added several new suggested lines to gitignore. All existing items are still present, however the new file has been copied verbatim from TwinCAT documentation. https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_sourcecontrol/14604066827.html&id=
This commit is contained in:
Matt Walsh 2025-03-13 13:07:41 -05:00 committed by GitHub
parent 5b0261b467
commit fdc1acb1bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,25 +1,49 @@
# gitignore template for TwinCAT3 ### TwinCAT3 ###
# website: https://www.beckhoff.com/twincat3/ # website: https://www.beckhoff.com/twincat3/
#
# Recommended: VisualStudio.gitignore
# TwinCAT files # TwinCAT PLC
*.plcproj.bak
*.plcproj.orig
*.tpy *.tpy
*.tclrs *.tclrs
*.library
*.compiled-library *.compiled-library
*.compileinfo *.compileinfo
# Don't include the tmc-file rule if either of the following is true: *.asm
# 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) *.core
# 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
LineIDs.dbg LineIDs.dbg
LineIDs.dbg.bak LineIDs.dbg.bak
_Boot/
_CompileInfo/ # TwinCAT C++ and shared types
_Libraries/ # ignoring the TMC file is only useful for plain PLC programming
_ModuleInstall/ # 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