Saturday, 26 December 2015

Subversion (SVN) in Eclipse

What Is Subversion?
Subversion is a free/open source version control system (VCS). Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your data or examine the history of how your data changed.

Install svn in eclipse
help-->install new software-->past this url( in Work with----->  click Add--> enter Name-->ok

1) Share project with other team members

Click to Zoom

2) Choose svn path 

3) Enter any name
Click to Zoom

4) Project structure after creating SVN

Your project is now shared or available for others to import.

Import svn project :
File-->new-->other--->type svn--->choose "checkout...."----select svn path--->choose project--->finish 

Update and Commit in eclipse :
Update :
Use Update to update from svn to eclipse ie. it updates your project in eclipse from repository. In simple words changes done by others will be reflected in your project in eclipse.
Click to Zoom

Commit :
Use Commit to update from eclipse to svn ie. it updates repository from your project in eclipse. In simple words changes done by you will be reflected to everyone.

Click to Zoom

No comments:

Post a Comment