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 |
---|
| 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:
|