Repository
Table of Contents
Folder Structure
tbd
readme.md
tbd
.gitignore
The following .gitignore file must be used for TwinCAT projects. The file serves as a basis and can be extended for third-party tools (e.g. OCE, PNOZ multi-project or similar).
#--------------------------------------------------------- # common #--------------------------------------------------------- # ignore entire 'IM' directory [Ii][Mm]/ # ignore any temporary directory [tT][mM][pP]/ [tT][eE][mM][pP]/ # ignore any *.backup directory *.[Bb][Aa][cC][Kk][uU][Pp]/ # ignore any log directory [lL][oO][gG]/ [lL][oO][gG][sS]/ #ignore archive folders [Aa][Rr][Cc][Hh][Ii][Vv][Ee]/ [Aa][Rr][Cc][Hh][Ii][Vv]/ # ignore backup files *.bak # ignore enterprise architect ldb *.ldb # ignore any file starting with a tilde ~*.* # ignore any file with file extension tmp or temp *.[tT][mM][pP] *.[tT][eE][mM][pP] # ignore info files *.info # ignore log files *.log #--------------------------------------------------------- # Beckhoff specific #--------------------------------------------------------- #ignore not required files **/.vs/ *.~u *.project.~u *.suo *.tmcRefac *.plcproj.bak *.plcproj.orig *.tpy *.tclrs *.compileinfo *.asm *.core LineIDs.dbg LineIDs.dbg.bak *.tsproj.bak *.tsproj.b?k *.tsproj.orig *.xti.bak *.xti.bk? *.xti.orig *.xtv *.xtv.bak *.xtv.bk? # ignore not required folders **/_Boot/ **/_CompileInfo/ **/_ModuleInstall/ **/_Deployment/ **/_Repository/ **/Release/ **/x64Debug/ **/x64Release/ **/x86Debug/ **/x86Release/ **/_output/ **/.TcGit/
.gitattributes
The following .gitattributes file must be used for TwinCAT projects. The file serves as a basis and can be extended for additional files types.
#beckhoff and VisiWin7 *.filters -merge *.vcxproj -merge *.vsmdi -merge *.sln -merge *.mdb -merge *.xml -merge *.csproj -merge *.csproj.user -merge *.xaml -merge *.config -merge *.tsproj -merge *.plcproj -merge *.xti -merge *.TcTTO -merge *.TcPOU -merge *.TcDUT -merge *.TcGVL -merge *.TcVis -merge *.TcVMO -merge *.TcGTLO -merge *.vw7 -merge # add system files to git lfs *.dll filter=lfs diff=lfs merge=lfs -text *.exe filter=lfs diff=lfs merge=lfs -text #add documents to git lfs *.pdf filter=lfs diff=lfs merge=lfs -text *.docx filter=lfs diff=lfs merge=lfs -text *.xlsx filter=lfs diff=lfs merge=lfs -text *.pptx filter=lfs diff=lfs merge=lfs -text *.txt filter=lfs diff=lfs merge=lfs -text *.csv filter=lfs diff=lfs merge=lfs -text *.rtf filter=lfs diff=lfs merge=lfs -text *.odt filter=lfs diff=lfs merge=lfs -text *.ods filter=lfs diff=lfs merge=lfs -text *.odp filter=lfs diff=lfs merge=lfs -text *.odg filter=lfs diff=lfs merge=lfs -text *.odf filter=lfs diff=lfs merge=lfs -text *.fodt filter=lfs diff=lfs merge=lfs -text *.fods filter=lfs diff=lfs merge=lfs -text *.fodp filter=lfs diff=lfs merge=lfs -text *.fodg filter=lfs diff=lfs merge=lfs -text *.fodf filter=lfs diff=lfs merge=lfs -text #add enterpise architect to git lfs *.eap filter=lfs diff=lfs merge=lfs -text *.eapx filter=lfs diff=lfs merge=lfs -text #add archive files to git lfs *.zip filter=lfs diff=lfs merge=lfs -text *.7z filter=lfs diff=lfs merge=lfs -text *.rar filter=lfs diff=lfs merge=lfs -text *.tnzip filter=lfs diff=lfs merge=lfs -text *.tar filter=lfs diff=lfs merge=lfs -text *.gz filter=lfs diff=lfs merge=lfs -text *.bz2 filter=lfs diff=lfs merge=lfs -text *.xz filter=lfs diff=lfs merge=lfs -text *.lzma filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *.lz4 filter=lfs diff=lfs merge=lfs -text *.lzip filter=lfs diff=lfs merge=lfs -text *.lzop filter=lfs diff=lfs merge=lfs -text *.cab filter=lfs diff=lfs merge=lfs -text *.arj filter=lfs diff=lfs merge=lfs -text #add beckhoff library files to git lfs *.library filter=lfs diff=lfs merge=lfs -text *compiled-library filter=lfs diff=lfs merge=lfs -text #add image files to git lfs *.jpg filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text *.bmp filter=lfs diff=lfs merge=lfs -text *.gif filter=lfs diff=lfs merge=lfs -text *.tiff filter=lfs diff=lfs merge=lfs -text *.svg filter=lfs diff=lfs merge=lfs -text *.HEIC filter=lfs diff=lfs merge=lfs -text *.HEIF filter=lfs diff=lfs merge=lfs -text *.webp filter=lfs diff=lfs merge=lfs -text *.ico filter=lfs diff=lfs merge=lfs -text *.jpeg filter=lfs diff=lfs merge=lfs -text *.jfif filter=lfs diff=lfs merge=lfs -text *.pjpeg filter=lfs diff=lfs merge=lfs -text *.pjp filter=lfs diff=lfs merge=lfs -text *.avif filter=lfs diff=lfs merge=lfs -text *.apng filter=lfs diff=lfs merge=lfs -text *.flif filter=lfs diff=lfs merge=lfs -text *.jxl filter=lfs diff=lfs merge=lfs -text *.jpe filter=lfs diff=lfs merge=lfs -text *.jpm filter=lfs diff=lfs merge=lfs -text *.jpg2 filter=lfs diff=lfs merge=lfs -text *.j2k filter=lfs diff=lfs merge=lfs -text *.j2c filter=lfs diff=lfs merge=lfs -text *.jpc filter=lfs diff=lfs merge=lfs -text *.jpf filter=lfs diff=lfs merge=lfs -text *.jpx filter=lfs diff=lfs merge=lfs -tex