March 2011
Beginner to intermediate
300 pages
7h 23m
English
This is how we really add files to the repository, we commit them. To jump right to it, we use the commit command like this:
svn commit . -m "Testing our first commit"
It produces some output like the following:
Sending laika.php Transmitting file data ...... Committed revision 2.
The dot after the commit symbolizes this directory, so as written, the command assumes that you are inside the root of your working copy. You could run that command from elsewhere on the file system simply by specifying the full path and it would have the same effect:
svn commit /full/path/to/my-working-copy -m "Testing our first commit"The -m is short for --message, and it allows us to describe this particular commit. These messages ...
Read now
Unlock full access