The IDE enables you to track a new file and also to stage changes to an already tracked file in the Git repository. You effectively add your sources into a local Git repository. The repository files are placed under a .git directory under the project directory.
When adding files to a Git repository, the IDE composes and saves snapshots of your project first in the Index. After you perform the commit, the IDE saves those snapshots in the HEAD. The IDE allows you to choose between the two workflows described in the following table.
Workflow Description | Explicitly add new or modified files to the Index and then commit only those that are staged in the Index to the HEAD | Skip adding new or modified files to the Index and commit the required files directly to the HEAD |
---|---|---|
Steps to Follow the Workflow |
|
|
Note: