First steps with CODESYS Git

First steps with CODESYS Git

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.

Installing Git

  1. Start the CODESYS installer,
  2. Select the installation you wish to extend with git and press "Change",
  3. In AddOns select the browse category,
  4. Now enter Git in the search bar and start the search by pressing enter,
  5. Select it and press install and follow the instructions,
  6. Wait for the installation to complete,
  7. Ready!

  8. 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!

Add cForge Git repository

  1. Add a new "Git" repository on a project where you are Admin via "Add New..." menu,
  2. Once the Git repository has been added to cForge, you can use it to check in and out code

CODESYS svn to git migration

  1. checkout from SVN
  2. Disconnect from SVN
  3. Git > Initialize Local repository
  4. Git > Remote > Add the remote git location you made in the previous step
  5. Git > push to the remote origin

this step should be expanded

Posted by hermsen 2021-07-03

Log in to post a comment.