128-spring-2013/ChucK Tutorial 3

From CCRMA Wiki
Revision as of 02:00, 13 May 2013 by Spencer (Talk | contribs) (SVN Version Control)

Jump to: navigation, search

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 if needed. 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 directory
  • cd directory : change directory to directory

When you first start Terminal the current directory is initially /Users/slork/ (most of the time).

Essential 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 repository
  • svn add filenames : add new files to the local repository
  • svn commit -m 'message' : commit any changes in the local repository, including added files, to the central server, with message as the commit message
  • svn update : pull down any new changes or files from the central server
  • svn revert filename : discard changes to filename, reverting it the last version committed to the central server

Networking with OSC