Most *nix system (Linux, Mac OSX) will probably come loaded with SVN. You can find by running:
$ which svn
$ svn --version
Get SVN...
If you don't have it, make sure to first install SVN on your machine. Here a few options:
- Visit the Apache page to download the flavor of your choice: http://subversion.apache.org/packages.html
- Install Cygwin http://www.cygwin.com/ and its SVN client (Windows)
- Install Sliksvn on Windows http://sliksvn.com/en/download/ (Windows)
- Install Collabnet SVN client for Windows http://www.open.collab.net/downloads/subversion/
Examples
Here are some examples of how to use SVN via a command line (Linux, Windows ...)
To Checkout a Codesion SVN Repository
svn co --username user --password password https://org.svn.cloudforge.com/project
You should see a new directory created called project, all the checked out files will be in the project directory
* Once you checkout with the above command, SVN will cache your authentication information
To Update:
Go into the project directory:
svn update
To add all new items recursively:
In the project directory:
svn add . --force
To commit to Codesion Repository:
In the project directory:
svn commit -m "your commit message"
0 Comments