Committing Local Changes to a Remote Repository
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.
- Click Commit.
The IDE executes the Commit command.
- 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 choose 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 choose CVS > Exclude from Commit. Note that the
command is unavailable for files that already exist in the repository.
The IDE displays the file or directory name in strikethrough text in
the Versioning window and disregards the items whenever the Commit command is
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
and choose CVS > Include in Commit.
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 permanantly 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