SVN+SSH Tutorial IIIT-Bangalore DB 101/2010: $ Sudo Apt-Get Install Subversion
SVN+SSH Tutorial IIIT-Bangalore DB 101/2010: $ Sudo Apt-Get Install Subversion
$ mkdir my-files
$ svn import -m "My files" my-files \
svn+ssh://my-username@my-server/my-home/my-repo
$ rm -rf my-files
$ svn checkout svn+ssh://my-username@my-server/my-home/my-repo/my-files
TortoiseSVN users can generate a working copy by right-clicking on an empty directory, selecting
the SVN Checkout... command and entering the URL of the repository in the dialog.
Examples
$ mkdir my-website
$ cd my-website
# See the local modifications to text files since the last commit.
$ svn diff |more
$ svn diff |vim -
# Merge changes committed to the repository since last update/checkout.
$ svn up
# Add an existing directory and all the files it contains.
$ svn add old-images/
Links
• Subversion Home
• The Subversion Book
• The Subversion Commands
• Details of SSH authentication
• TortoiseSVN, GUI client for Windows