SVN commands
|
Subversion can be used on the command line with the command svn. You will find a full documentation at:
http://svnbook.red-bean.com
In the next chapter you find information about graphical interface of RapidSVN.
You can use the command svn and RapidSVN in parallel perfectly, they do not affect each other.
| - |
svn checkout
|   | Download a Subversion directory to a local directory, which is now identified as associate working directory.
This command is also used when YOU USE SUBVERSION FOR THE FIRST TIME. More details for starters see below at "Checkout from repository".
| - |
svn add
|   | Order the adding of a file or whole directory to the version managment.
To finally upload the files use svn commit . Don not add temporary files (see Rules of conduct).
| | - |
svn commit
|   | Commit local changes in the local directory or for a file to the repository.
This includes orders for adding files or directories as well. Use meaningful log messages.
| | - |
svn update
|   | Download the changes of others from the repository, for this directory or a single file.
Update every time before you commit (see Rules of conduct). If your file is marked with an C now, you have to solve a conflict
(see Subversion principles).
| | - |
svn status
|   | Shows a status of the files in the local directory, if they are modified (M), ordered for adding (A),
with conflicts (C) or not under version control (?). With status -u you see as well, if there are changes in the repository.
| | - |
svn resolve
|   | Resolve conflicts on working copy files or directories.
| |
Checkout from repository
Do the following when you begin working with Subversion.
-
Change into your working directory on your computer, i.e.
cd ~/mysvndownloads
-
Make a copy of a repository on the subversion server (i.e. concepts) to your computer using the command 'svn checkout' , e.g. write (with dot at the end)
svn checkout https://svn-stat.math.ethz.ch/concepts/ .
-
Your directory 'mysvndownloads' is now your working directory in which you received all files from the repository. After having made modifications, you can upload the file to the repository using the command 'svn commit'.
|