Subversion
How to use subversion with NetBeans?
SVN is the short-term for Subversion. It is used for maintaining current and historical versions of projects and for managing and tracking changes to code and assets of the projects. It is an open source centralized version control system.
First download the following folder and place it under C:\Program Files
Then go to NetBeans
Team -> Subversion -> Checkout
Then add the Repository URL, User and Password and click "Next"
Next , Set the following details.
Repository Folder: (none)
Repository Revision: HEAD
Local Folder: (Same folder as the project folder)
How to update code with subversion?
Right click on the folder,
Subversion -> Update -> Update to HEAD
How to commit the latest changes?
Right click on the folder,
Subversion -> Commit
Then following window appears. Here you can write a meaningful commit message and you can select the files you want to commit.
Meaningful commit message should include your name and what are the changes you did in the code related to the commit.
How to resolve conflict with subversion?
Right click on the folder,
Subversion -> Resolve Conflicts...
Here you can select what you want to do, Accept both commits or accept one of it. Then you need to click on Ok button.
How to add subversion icons to menubar?
You can add subversion icons to top menubar on NetBeans. This way will make it easy to work with subversion.
Right click on the menubar and select Customize
The following window will appear. Then just Drag and Drop the icons to the start point of the menubar.
After you add icons to menubar, icons will appear on the menubar as shown in the following image.