Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleSTEP 2: Commit some code changes and push them to the remote repository

Now that there is a git repository tracking this component, changes made locally can be committed and saved to the cloud.

  • Click on Edit Script to open the Translator

  • Make some code changes. If nothing comes to mind, replace the code you see with the sample below, which just changes the component’s border on the dashboard to red

    Code Block
    languagelua
    function main()
    	component.setBorder{color="red"}
    end
    main()
  • Once you have made some changes, click on the Commit Changes button in the Translator toolbar, its the one that looks like a plus surrounded by a circle

  • In the window that appears you can see the changes that were made. Enter a message that summarizes the changes, then click Commit

  • You will be sent back to the Translator screen. Notice that there are a few changes:

    • The Push Changes button in the Translator toolbar which looks an arrow pointing to a cloud has a blue dot. This means a local change is ready to be pushed to the cloud repository.

    • A new section has appeared at the bottom. This is the Git Terminal. This is where you will see information appear when Git commands like pulling, committing and pushing are done.

    • Users familiar with how Git works can use this terminal to perform Git operations.

  • Click on the Push Changes button. If Git was able to successfully send your changes to the remote repository, you will see this:

Expand
titleSTEP 3: Clone in your component on a different Iguana

Since the changes made have been pushed to the cloud, this component can now be cloned into any other Iguana.

  • Exit the Translator by clicking the X in the top right

  • From the component card, copy the Connected To field

    Image Added
  • In a

  • [This feature has some issues in 10.1.70]