To publish the changes you made in your working copy, run the svn commit
command.
IMPORTANT: Review your changes before committing them! Use
svn status
andsvn diff
to review the changes. Also, make sure you are in the correct path before performing a commit. If you updated many files across various directories, you should be at the appropriate level to include all of them beneath your location.
Here is an example of the commit command:
svn commit -m "My Descriptive Log Message"
Alternatively, svn ci
is the shorthand for svn commit
Note the -m (--message)
option. Good commit messages help others understand why a commit was made. Also, on the server side it's possible to enforce non-empty messages, and even enforce that each commit message mentions an existing ticket in your bug tracking system.