Committing Local Changes to a Remote Repository (CVS)
See Also
Once your working copies of version-controlled files have been edited, you
can then place your changes into the repository using the Commit command.
- Project directories must be located within a local working directory
that is registered with the IDE in order to call CVS commands on them.
To commit changes in local files to a remote repository:
- In the Versioning window,
confirm that you want to commit the listed files.
- Ensure that your local copies of the files are up-to-date by clicking the
Update All (
) button
prior to committing your changes.
- Once the Update command has finished, commit the files by clicking the
Commit All (
) button.
If the files you want to commit do not already exist in the repository,
the Commit command will add them.
- Enter a message describing your changes in the CVS Commit dialog that
appears and click Commit. The IDE executes the Commit command and the
selected files are committed to the repository.
- Click the Recent Messages icon (
) in the upper right corner of the
dialog to view recent commit messages.
- You can also commit files or directories from the Projects window, Files
window, or Favorites window by right-clicking the files or directories
you wish to commit and choosing CVS > Commit.
Excluding Files from a Commit
The IDE enables you to specify which files in your local working directory
are recognized when using CVS commands. Using the Exclude from Commit
command, you can set the IDE to temporarily disregard files when making
commits.
To exclude local files in your working directory:
- Select the files or directories you wish to ignore in the Versioning
window, Projects window, Files window, or Favorites window.
- Right-click and select the CVS > Exclude from Commit option. If
you have the Versioning
window opened, note that the IDE displays the file or directory
name in strike-through text and disregards the item(s) whenever the
commit command is called. Note that the files remain excluded until
you include them.
- To remove the exclude status from a file or directory, right-click the
selected file or directory, choose CVS and deselect the Exclude from
Commit option.
Ignoring Files
If your local working directory includes files or directories that you
do not want to place under version control, you can set the IDE to
ignore them permanently using the Ignore command.
To ignore local files in your working directory:
- Select the files or directories you wish to ignore in the Versioning
window, Projects window, Files window, or Favorites window.
- Right-click and choose CVS > Ignore. Note that the Ignore command
is unavailable for files that already exist in the repository. The
IDE ignores the file or directory whenever CVS commands are called
on them or the directories within which they are stored.
- See Also
- Checking Out Files from a Remote
Repository
- Comparing File Revisions
- Resolving Merge Conflicts
Legal Notices