Committing Changes to Version Control
Go Up to Subversion Integration in the IDE
Committing a file or project saves it to the repository. All users are then able to access your changes by updating their local copies of the file or project.
Commit will commit your changes to your local and to the remote repository.
To commit a specific file
- In the Project Manager, right-click the file that you want to commit.
- In the context menu, select Subversion > Commit. The Commit (SVN) pane appears in the main window of the IDE.
- Enter a comment for the log in the Commit field. You can see (or select) comments from previous committed versions.
- Click Commit. The version control system displays results in the Messages View.
To commit a directory or an entire project
- In the Project Manager, right-click the folder or the project that you want to commit.
- In the context menu, select Subversion > Commit.
- Under the Commit command in the context menu, select one of the following subcommands:
- From Repository Root searches up the directory tree to find the last directory managed by the same repository as the project file and then adds to the commit pane all the files in that directory and below.
- From Project Directory adds to the commit pane all files in the project directory and below.
- Files in this Project adds to the commit pane all files (and their associated files) listed in the Project Manager.
- The commit pane appears in the main window of the IDE. Select the files you want to commit in the Commit to: Location field.
- Enter a comment for the log in the Commit field. You can see comments from previous committed versions.
- Click Commit. The version control system displays results in the Messages View.
- Note: To avoid a conflict between versions, always do an update on your local files before you start making changes. If not, you risk committing an outdated file, which can lead to lock situations that require using the Clean command (available on the Project Manager). For Subversion, you can use Update (SVN)