O'Reilly logo

WordPress 3 Plugin Development Essentials by Everett Griffiths, Brian Bondari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Committing changes to the repository

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required