RubyMine 2016.3 Help

Working with Tags and Branches

From within RubyMine, you can create and delete CVS tags and branches. The names of the tags and branches must start with a letter, and contain only alphanumeric characters.

Branch and tag commands apply to all the files you have selected in the current view (including all the files in any selected directory), or to the current file in the editor if you invoked the command there.

This section describes how to:

To access tags and branches commands

  1. In one of the tool windows, select the desired files or directories, or open a file in the editor.
  2. Do one of the following:
    • On the main menu, choose VCS | CVS
    • On the context menu, choose CVS
  3. On the submenu, choose the appropriate command (Create Branch, Create Tag, or Delete Tag)

To create a branch

  1. Invoke the Create Branch command.
  2. In the Create Branch dialog box, specify the name of the new branch. To do that, type the name in the Branch name field, or click the Browse button browseButton.png and select the desired name from the list of existing CVS tags.
  3. Optionally, specify the following:
    • Select the Override existing check box, if you want to move an existing tag to a new branch, as defined by the option -F of rtag CVS command.
    • Select the Switch to this branch check box to switch your local working copy to the branch specified in the Branch name field.

To create a new tag

  1. Invoke the Create Tag command.
  2. In the Create Tag dialog box, specify the new tag name. To do that, type the name in the Tag name field, or click the Browse button browseButton.png and select the desired name from the list of CVS tags.
  3. Optionally, specify the following:
    • Select the Override existing check box, if you want an existing tag to point to the current revision, as defined by the option -F of rtag CVS command.
    • Select the Switch to this tag check box to switch your local working copy to the tag specified in the Tag name field.

To delete a tag

  1. Invoke the Delete Tag command.
  2. In the Delete Tag dialog box, specify the name of the tag you want to delete. To do that, type the name in the Tag name field, or click the Browse button browseButton.png, and select tag name from the list of the current tags in the repository.

See Also

Last modified: 22 March 2017