explicitly excludes the `_Libraries` directory, and provides example of adding sub directories back in. Should be used for including custom and third party (non -Beckhoff shipped) libraries, improving maintainability
31 lines
No EOL
890 B
Text
31 lines
No EOL
890 B
Text
# gitignore template for TwinCAT3
|
|
# website: https://www.beckhoff.com/twincat3/
|
|
#
|
|
# Recommended: VisualStudio.gitignore
|
|
|
|
# TwinCAT files
|
|
*.tpy
|
|
*.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
|
|
*.project.~u
|
|
*.tsproj.bak
|
|
*.xti.bak
|
|
LineIDs.dbg
|
|
LineIDs.dbg.bak
|
|
_Boot/
|
|
_CompileInfo/
|
|
_ModuleInstall/
|
|
|
|
# Exclude all libraries
|
|
/**/_Libraries/*/
|
|
|
|
# To include a specific library directory (i.e. third party/custom libs),
|
|
# use pattern `!/**/_Libraries/<directory name>/` i.e. `!/**/_Libraries/www.tcunit.org/`
|
|
# |