Committing Changes to the Repository
The commit command saves your local additions, modifications, and deletions to the repository.
To Commit Files
In the tree pane or file pane, you can select locally modified files and folders, then do one of the following:
- In the version control toolbar, click
. - In the tree pane or file pane, right-click a file you selected and click Commit in the Version Control menu.
- In the main menu, click Version Control > Commit.
In the Commit dialog that's displayed, you can do the following:
- Enter a commit message.
- Select and clear files to commit.
- Select or clear the Keep Lock option to select whether to keep locks you placed on files after you commit. By default, committing a file removes the lock.
Getting the Status
If the system accepts your changes, the file status icon changes to one of the following:-
: Normal status. Any locks are released.
-
: Locked status, if you select the option to keep locks.
-
: Conflicted status, if conflicts block the commit.
Resolving Conflicts
If a conflict blocks the commit, you can resolve any conflicts or select the option to resolve the conflict later.