When a component stores Git commits in a plain folder, it can use another plain component's commit history, allowing for template creation and shared code execution — an alternative to collections, which require self-contained repositories.
Expand |
---|
title | STEP 1: On the component card, edit the Commit to open the options. |
---|
|
Image RemovedEdit Using Commit and click the three dots to edit the selected commit. Image Added |
Expand |
---|
title | STEP 2: In the second box, enter the component id of another component you want to use a commit from |
---|
|
Image Removed Image Removed |
Expand |
---|
title | STEP 3: Choose a commit to run your component from |
---|
|
For Plain Folder components, the commit window will display:
Full Commits: This contains a full list of commits across the entire Iguana instance and all of its components.
Relevant Commits: This contains a list of all of the commits of the current component.
Image Removed
Image RemovedSelect Commit window, choose a component, check update, and choose a commit |
|
In the Select a Commit window: Choose a Component to view it’s commit history. Check the option to Update component to run from the selected component. Choose a commit from the selected component’s commit history to run your component.
Click confirm once you’ve made your selection. Image Added |