1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
7 <sect1 id="ch03-commit">
8 <title>svn commit/ci</title>
9 <?dbhtml filename="commit.html"?>
11 <para><command>svn <option>commit</option></command> or <command>svn
12 <option>ci</option></command>. This command recursively sends your changes
13 to the Subversion server. It will commit changed files, added files and
14 deleted files. The <option>-m</option> and <option>-F</option> options can
15 be used to pass a log message to the command. If you don't specify a
16 <emphasis>-m "MESSAGE"</emphasis> or <emphasis>-F "Filename"</emphasis>
17 option, Subversion will open the default editor and ask you to type in a log
18 message. The default editor is specified by the environment variable,
19 $SVN_EDITOR. For example, to set your default editor to vim, run:</para>
21 <screen><userinput>export SVN_EDITOR=vim</userinput></screen>
24 Please don't use empty log messages (see later in this document on the
25 policy which governs them).