# Options Window: Miscellaneous: Versioning

You use this panel to configure VCS-specific parameters that affect the behavior of Git, Local History, Mercurial, and Subversion in the IDE.

After you select the versioning system you can specify the following options:

Element | Description
--- | ---
Versioning Systems | To make changes to settings for Git, Local History, Mercurial, or Subversion, select the appropriate versioning tool from the list. Available settings immediately display within the window.
General |
Disconnected Repositories | Displays when General is selected in the Versioning Systems list. To disconnect a repository from a version control system, select the required versioning tool in the Versioning System drop-down list, and specify the repository folder after clicking Add. To reconnect a disconnected repository folder, select the appropriate folder in the Disconnected Folders list and click Remove.
History | When selected you can modify the options that affect the History view of files in the Editor.
Local History | Define the options to be applied to the IDE built-in versioning support for local projects and files.
Remove Local History files older than x days | Set the maximum age of local history files before the IDE deletes them. You must enter a whole number. The default value is 7.
Only remove revisions without a label | Check this box and the IDE will not delete Local History versions that you labeled. To label a version of a file, open the Local History view of the file, select the version, and type something in the label field.
Never remove Local History files | Select this option and the IDE will never delete file versions in local history. Note that this can add up to a lot of disk space over time.
Versioning History | Define the options to be applied to versioning control systems that the IDE supports.
Increments for loading revisions x days | Select to retrieve the versioning history for the specified amount of days. The default value is 30.
Load all revisions | Select to retrieve all revisions made to a versioning control system.
Git | When selected you can modify the global options for the Git versioning system.
Mercurial | When selected you can modify the global options for the Mercurial versioning system.
Subversion | When selected you can modifythe global options for the Subversion versioning system.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.