Skip to content

Commit b4e8ec3

Browse files
authored
Update TwinCAT3.gitignore
with the existing .gitignore in this repo, which can be select directly in the VS 2022 if you create a new repo, our customers have a lot of problems. thats why we suggest this update
1 parent 4488915 commit b4e8ec3

File tree

1 file changed

+36
-15
lines changed

1 file changed

+36
-15
lines changed

TwinCAT3.gitignore

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,46 @@
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.b?k
29+
*.xti.orig
30+
31+
# Multiuser specific
32+
**/.TcGit/
33+
34+
# exclude not required folders
35+
**/_Boot/
36+
**/_CompileInfo/
37+
**/_Libraries/
38+
**/_ModuleInstall/
39+
**/_Deployment/
40+
**/_Repository/
41+
42+
# VS Shell project specific files
43+
*.~u
44+
*.project.~u
45+
*.suo
46+
.vs/

0 commit comments

Comments
 (0)