Skip to content


OS X svn reference

To check out, navigate to target directory and:

svn ci "[repos uri]"

To add files to project, navigate to parent directory and:

svn add *

svn add [file and or directory path/names] works, as well, if you want to target a particular directory or file.

Also, the process will stop once it hits a file that is already under version control (this may be a new behavior in Lion). So, you have to add the –force argument:

svn add * --force

Discussion at StackOverflow.

To delete files:

svn delete or svn rm

To specifically target files that are missing (svn status prints them with a ‘!’):

svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' )

Found that here.

To commit files to project, navigate to parent directory and:

svn ci -m "[commit message]" [file and/or directory path/names]

To update:

svn update

Posted in Development, terminal.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.