CSC207H1 Lecture Notes - Perforce Software, Toothpaste, Master Sergeant
Document Summary
How to keep track of changes to your program. Version control: keep code in a central location = repository . Never directly modify this directory: create a local copy of the repository in your account at school, on your machine at home, on your laptop, check out copys to work on. Commit when the local copy changes, commit the changes to the repository. Common svn commands: svn checkout [url] get initial copy. Do this anywhere to get a local copy of a repository. Tip for assignments: after you commit the version you want us to mark, check out a fresh copy an test it on your school system: svn add [filenames] add new files. Notifies subversion that you want it to track the new files. Add will almost always be followed by a commit because add doesn"t actually modify the repository: svn status [filenames] see what"s changed. When it says nothing, nothing has been changed.