IntelliJ IDEA 15.0 Help

Putting Labels

On this page:


Before embarking on a risky change to your source code, it is a good idea to mark the stable version with some meaningful label. This will help you quickly roll back to a safe version.

Labels apply to a whole project.

Adding a label to a local version

To add a label to a local version

  1. Select a file or folder in the Project tool window, or open a file in the editor.
  2. Do one of the following:
    • On the main VCS menu, or on the context menu of the selection, choose Local History | Put Label.
    • Press Alt+Back Quote and choose Put Label command from the VCS Operations quick list.
  3. In the Put Label dialog box, type the label name.

See Also

Last modified: 5 November 2015