Versions Compared

Key

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

This page will have When working on a project, you may not want to commit a file to Git, for example if it contains confidential information. To stop Iguana X from committing specific files, you can add them to a Git Ignore (.gitignore) file.

This page contains a sample .gitignore file that you can use to stop IguanaX from committing confidential information.

The file works like this:

  1. Place the .gitignore file from below attached in this document into your components component directory. :

Code Block
/Users/iguanaxUser/Library/IguanaX/repos/

...

<component_

...

guid>/
  1. Edit the .gitignore file to include what you want to ignore:

This example file will ignore all the Sample data

...

in the specific components directory:

Code Block
/Samples/*
  1. Make an initial commit, connect your component to a repository and make sure the specified files are not there.

NOTE: Adding the .gitignore file before adding the samples folder works easier. If you already have the samples folder you may need to delete that folder and re-upload it.

...