{"id":3503,"date":"2025-10-21T10:20:47","date_gmt":"2025-10-21T10:20:47","guid":{"rendered":"https:\/\/www.woojin.help\/?p=3503"},"modified":"2025-11-07T05:32:26","modified_gmt":"2025-11-07T05:32:26","slug":"wabot-git-comit-differences","status":"publish","type":"post","link":"https:\/\/www.woojin.help\/ko\/wabot-git-comit-differences\/","title":{"rendered":"WABOT git commit differences"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-post pdfprnt-top-right\"><\/div>\n<p class=\"wp-block-paragraph\">As Keba software only uses a single file for the entire project, it&#8217;s really hard to see exactly what has changed in the code on Git. Because of this issue, I have created a small script that extracts the code and then performs a difference comparison. This script will be committed as an additional file, along with the .project file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to Use the Comparison Script:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Preparation (Old Version):<\/strong> Download the latest project version from Git and extract the code (only PLC Logic and TeachControl) from KeStudio into the <code>GitCodesysExport<\/code> folder (which is inside the script directory).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"657\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-23-1024x657.png\" alt=\"\" class=\"wp-image-3572\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-23-1024x657.png 1024w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-23-300x193.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-23-768x493.png 768w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-23-18x12.png 18w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-23.png 1136w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Preparation (New Version):<\/strong> Before committing, the current code (only PLC Logic and Teachcontrol) needs to be exported again and saved in the second folder (<code>LocalCodesysExport<\/code>).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"649\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-25-1024x649.png\" alt=\"\" class=\"wp-image-3574\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-25-1024x649.png 1024w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-25-300x190.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-25-768x487.png 768w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-25-18x12.png 18w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-25.png 1150w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Run Comparison:<\/strong> The next step is to run the script (<code>full_compare.bat<\/code>) inside the script folder.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"799\" height=\"201\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/2025-10-21_12-05.png\" alt=\"\" class=\"wp-image-3522\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/2025-10-21_12-05.png 799w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/2025-10-21_12-05-300x75.png 300w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/2025-10-21_12-05-768x193.png 768w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/2025-10-21_12-05-18x5.png 18w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Commit:<\/strong> After the script is finished, the contents of the <code>Commit Changes<\/code> folder should be copied to the project folder and committed to Git along with the project files.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"208\" height=\"139\" src=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-19.png\" alt=\"\" class=\"wp-image-3523\" srcset=\"https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-19.png 208w, https:\/\/www.woojin.help\/wp-content\/uploads\/2025\/10\/image-19-18x12.png 18w\" sizes=\"(max-width: 208px) 100vw, 208px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li> Script can be found under &#8221; <a href=\"https:\/\/svn.woojin.at\/svn\/RD\/02_Control\/99_Misc\">https:\/\/svn.woojin.at\/svn\/RD\/02_Control\/99_Misc<\/a> &#8220;<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>As Keba software only uses a single file for the entire project, it&#8217;s really hard to see exactly what has [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[398,1],"tags":[],"class_list":["post-3503","post","type-post","status-publish","format-standard","hentry","category-wabot","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/posts\/3503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/comments?post=3503"}],"version-history":[{"count":3,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/posts\/3503\/revisions"}],"predecessor-version":[{"id":3575,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/posts\/3503\/revisions\/3575"}],"wp:attachment":[{"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/media?parent=3503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/categories?post=3503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.woojin.help\/ko\/wp-json\/wp\/v2\/tags?post=3503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}