Versions Compared

Key

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

So after you have done this action:Commit and Push Changes to Git how do you select this code to run in your component. This is how you do itOn the component card, you can select the commit you want your component to run on. This is useful when:

  • You have commit and pushed changes to your repository and want the component to run on the new code.

  • You have made changes to a component in a testing Iguana environment and want to update the production deployed component.

  • Need to quickly revert your component to run on a previous commit.

How it works:

Expand
titleOpen up your component card and stop the component if it is running

Double click the component you want, to bring up its component card.

Expand
titleChange the Using Commit option to either a specific commit or use the DEVELOPMENT mode
  • The Choose a specific commit you want to run

  • Or if you just want DEVELOPMENT mode is useful as you are developing your component as it will set the component to run what you have in your translator Translator, even if you have not committed it you can use the DEVELOPMENT option (this can be helpful while you are developing code)yet commit your changes.

  • Click the green arrow to confirm.

Expand
titleIf needed, you can open a read only Translator script to view a previous commit

If you need to view the state of a specific commit, you can select the commit and click [ view commit ] to open a read only mode of the Translator.

Image Added
Expand
titleIf you don't see your latest commit - use the refresh button to pull the latest commits

This uses Git Cache to pull down the latest commits and refresh your “Using Commit“ dropdown. Click and wait for it to stop spinning to see the latest commits.

Screen Shot 2024-01-11 at 4.09.46 PM.png

...