Difference between revisions of "128-spring-2013/ChucK Tutorial 3"

From CCRMA Wiki
Jump to: navigation, search
(SVN Commands)
(Basic SVN Commands)
Line 8: Line 8:
 
When you first start Terminal the current directory is initially <tt>/Users/slork/</tt> (most of the time).  
 
When you first start Terminal the current directory is initially <tt>/Users/slork/</tt> (most of the time).  
  
=== Basic SVN Commands ===
+
=== Essential SVN Commands ===
 
On every Slorktop, the SVN directory is located at <tt>/Users/slork/slork</tt>.  
 
On every Slorktop, the SVN directory is located at <tt>/Users/slork/slork</tt>.  
 
* <code>svn status</code> : display information about the current state of the local SVN repository
 
* <code>svn status</code> : display information about the current state of the local SVN repository

Revision as of 01:59, 13 May 2013

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 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