This is in no way a complete overview on what Git offers. It is merely meant as a primer to get you up and running with git on forge quickly.
Git is a very popular Distributed Sourcecode Management tool. Understanding the basics is not to difficult but the best learning is done by doing. This blogpost tries to condense the bare essentials for CODESYS Git so you can get started quick. Ps if you have previous experience with svn you have a (small) headstart to understand some basic concepts of Git, however Git is a totally different beast thennsvn.
Basicly a single complete dev cycle looks something like this:
* Create Remote Main git
* load project into CODESYS
* initialise local main git and commit loaded project into it
* add the Remote Git as a location
* push the local main to the remote main
* branch and checkout the local main into a new branch for your first code mutation
* after your code is done, stage and commit these changes onto your branch.
* checkout the local main and merge the branch
* push the local main into the remote main
* eat, sleep, code, repeat
Note: Git usage requires a valid Professional Developer Edition License
Please ask CODESYS to whitelist cForge usage as we (the community) think git usage should be free for use in combination with cForge!
this step should be expanded