Changes

Jump to: navigation, search

Hints for Using SVN to collaborate on school projects

245 bytes added, 18:43, 27 September 2010
Start the Project from zero
For this you should create the basic framework of your project in trunk, and '''Add''' and '''Commit''' it. Then branch it into the proper workspace in your home directory in '''branches'''. Finally you should '''update''', so the new branch is added to your copy of the repository on your machine. This is how you do this:
* # '''checkout''' the project repository in a new directory on your computer;*#:# ''Create a new directory on your computer, right click on it and then click on '''SVN Checkout'''*#:# In '''URL of repository''' type your repository path (svn://zenit.senecac.on.ca/....)*#:# click on ok* # If the basic directories (trunk, tags, branches) don't exist create them and then add them by right clicking on them and selecting '''...SVN/Add'''.* # In trunk, create your basic project framework, compile and run it. (this could be as simple as few empty files or a Hello world application).* # Right click on the trunk and select '''....SVN/Add''' again and select all the needed file to be added to the repository. *#: Add only those files that should be tracked for modification; "Those need to be version-controlled". Binary and Executable files are usually not added to the repository; Only add them if you know what you are doing.# Right click on trunk and select '''SVN Commit''' to commit your work to repository server.# Create a directory with your seneca-id in branches and '''add''' it to the repository and then '''commit''' branches to update the repository server.

Navigation menu