Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 you can use.

The file works like this:

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

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

/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.

  • No labels