128-spring-2013/ChucK Tutorial 3
Appearance
SVN Version Control
SVN synchronizes files and code across multiple computers by synchronizing those files with a central server. The central server keeps copies of each version of each file it receives, which can be retrieved later. Each computer maintains a copy of the whole repository. Changes and additions are made to the local repository and then committed to the central server. When other computers perform an update, they pull down these changes.
Whirlwind Terminal/Command Line tutorial
ls
: list all of the files and directories in the current directorycd directory
: change directory todirectory
When you first start Terminal the current directory is initially /Users/slork/ (most of the time).
SVN Commands
On every Slorktop, the SVN directory is located at /Users/slork/slork.
svn status
: display information about the current state of the local SVN repositorysvn add filenames
: add new files to the local repositorysvn commit -m 'message'
: commit any changes in the local repository, including added files, to the central server, with message as the commit messagesvn update
: pull down any new changes or files from the central serversvn revert filename
: discard changes to filename, reverting it the last version committed to the central server