This is in no way a complete overview on what CODESYS Git offers. It is merely meant as a primer to get you up and running with git on forge quickly.
Git is a popular open source distributed version control system. Understanding and mastering the basics is easy however, the best results are achieved via 'learning by doing'. This blogpost tries to condense the bare essentials for CODESYS Git so you can get started quickly.
Be aware that Git is a totally different beast from svn! If you have previous experience with svn you will have a (small) headstart in understanding basic key concepts of Git.
CODESYS Git usage requires a valid Professional Developer Edition or a Demo license (free). I am sure that if the entire community will ask politely, CODESYS will enable free usage in combination with cForge
'Pull Requests' and 'Squash' will be on the roadmap for an updated version
[[https://forge.codesys.com/u/hermsen/blog/2021/07/first-steps-with-codesys-git/attachment/codesys%20installer%20git.png]]
Initial setup is done a few times in the development cycle, but usually significantly less then the repeated flow, unless you like to tinker around much or you have a need for many git's
initialise (= create) remote main git
[[https://forge.codesys.com/u/hermsen/blog/2021/07/first-steps-with-codesys-git/attachment/cForge%20add%20new%20git.png]]
load project into CODESYS
initialise (create) local main git
<missing></missing>
stage/commit loaded project into local main
[[https://forge.codesys.com/u/hermsen/blog/2021/07/first-steps-with-codesys-git/attachment/CODESYS%20Git%20-%20Git%20Remotes%20overview.png width=50%]]
add remote main as a location in local main
create remote, load project, create local, commit local, add remote, push remote
branch/checkout, code, stage/commit, merge, push
..
..