Skip to content

Commit fdc1acb

Browse files
authored
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=
1 parent 5b0261b commit fdc1acb

File tree

1 file changed

+39
-15
lines changed

1 file changed

+39
-15
lines changed

TwinCAT3.gitignore

Lines changed: 39 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,49 @@
1-
# gitignore template for TwinCAT3
1+
### TwinCAT3 ###
22
# website: https://www.beckhoff.com/twincat3/
3-
#
4-
# Recommended: VisualStudio.gitignore
53

6-
# TwinCAT files
4+
# TwinCAT PLC
5+
*.plcproj.bak
6+
*.plcproj.orig
77
*.tpy
88
*.tclrs
9+
*.library
910
*.compiled-library
1011
*.compileinfo
11-
# Don't include the tmc-file rule if either of the following is true:
12-
# 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)
13-
# 2. You've created a standalone PLC-project and added events to it, as these are stored in the TMC-file.
12+
*.asm
13+
*.core
14+
LineIDs.dbg
15+
LineIDs.dbg.bak
16+
17+
# TwinCAT C++ and shared types
18+
# ignoring the TMC file is only useful for plain PLC programming
19+
# 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
1420
*.tmc
1521
*.tmcRefac
16-
*.library
17-
*.project.~u
22+
23+
# TwinCAT project files
1824
*.tsproj.bak
25+
*.tsproj.b?k
26+
*.tsproj.orig
1927
*.xti.bak
20-
LineIDs.dbg
21-
LineIDs.dbg.bak
22-
_Boot/
23-
_CompileInfo/
24-
_Libraries/
25-
_ModuleInstall/
28+
*.xti.bk?
29+
*.xti.orig
30+
*.xtv
31+
*.xtv.bak
32+
*.xtv.bk?
33+
34+
# Multiuser specific
35+
**/.TcGit/
36+
37+
# exclude not required folders
38+
**/_Boot/
39+
**/_CompileInfo/
40+
**/_Libraries/
41+
**/_ModuleInstall/
42+
**/_Deployment/
43+
**/_Repository/
44+
45+
# VS Shell project specific files and folders
46+
**/.vs/
47+
*.~u
48+
*.project.~u
49+
*.suo

0 commit comments

Comments
 (0)