Versions Compared

Key

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

...

Expand
titleSTEP 1: In terminal or command prompt, navigate to your Iguana X IguanaX repository file for the desired component.

Navigate to your Iguana X IguanaX component repos file. You may find this in the default location:

For Windows:

Code Block
languagebash
C:\ProgramData\IguanaX\reposconfig\comps\<component_guid>\dev\

For Linux:

Code Block
languagebash
~/.IguanaX/config/reposcomps/<component_guid>/dev/
Expand
titleSTEP 2: Create a .gitignore file for your component.

For Windows:

  1. Create the .gitignore hidden file

Code Block
languagebash
echo. > .gitignore
  1. Open the file in notepad to manually edit the file.

Code Block
notepad .gitignore

For Linux:

  1. Create the .gitignore hidden file

Code Block
touch .gitignore
  1. Open the file in editor mode

Code Block
vi .gitignore

...

Expand
titleSTEP 4: In the Translator, make a commit, push your commit to your linked repository and check if the files exist.

Once you’ve created your .gitignore file, any changes you commit and push to your linked upstream repository will not contain the ignored files.

You can confirm this by navigating to your Git repository and viewing the latest commits.

...