Versioning

Java editor features in NetBeans IDE
Click image for fullscreen preview

NetBeans IDE lets you work easily and intuitively with a range of popular versioning systems

Versioning

Version Control Tools

Out of the box, NetBeans IDE lets you access Git, Mercurial, and Subversion repositories. Plugins are available for working with CVS and ClearCase repositories.

The NetBeans editor uses color coding to highlight lines that have been added, deleted, and modified. Tools are provided to view changes, diffs, local history, and to resolve merge conflicts intuitively.

NetBeans Git User Guide
NetBeans Mercurial User Guide
NetBeans Subversion User Guide
NetBeans CVS User Guide
NetBeans ClearCase User Guide
 

Git

Mercurial

Subversion

Git
Since Git is a distributed revision control system, you typically begin by using the IDE to clone an external repository to work with. Use the IDE to push your changes back to the original repository or to export your changes and send them to the owner.

Mercurial
The IDE's Mercurial support lets you clone repositories and to manage changes to version-controlled files as you work. In the IDE, you can call Mercurial commands on both files and directories in the Projects, Files, and Favorites windows.

Subversion
The IDE's Subversion support lets you to manage the evolution of changes in version-controlled files by displaying status information directly in the IDE's various windows (e.g. Projects, Files, Favorites, Versioning) so that you can call Subversion commands as you work.

See Also