<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../general.ent">
  %general-entities;
]>

<sect1 id="ch03-commit">
  <title>svn commit/ci</title>
  <?dbhtml filename="commit.html"?>

  <para><command>svn <option>commit</option></command> or <command>svn
    <option>ci</option></command>. This command recursively sends your changes
    to the Subversion server. It will commit changed files, added files and
    deleted files. The <option>-m</option> and <option>-F</option> options can
    be used to pass a log message to the command. If you don't specify a
    <emphasis>-m "MESSAGE"</emphasis> or <emphasis>-F "Filename"</emphasis>
    option, Subversion will open the default editor and ask you to type in a log
    message. The default editor is specified by the environment variable,
    $SVN_EDITOR. For example, to set your default editor to vim, run:</para>

   <screen><userinput>export SVN_EDITOR=vim</userinput></screen>

  <para>
    Please don't use empty log messages (see later in this document on the
    policy which governs them).
  </para>
</sect1>
