<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 SYSTEM "../../../dtd/dblite.dtd">
<sect1 id="tgit-dug-svn-dcommit">
	<?dbhh topicname="HIDD_SVNDCOMMITTYPE"?>
	<title>git svn dcommit</title>
	<indexterm>
		<primary>dcommit</primary>
	</indexterm>
	<indexterm>
		<primary>svn</primary>
	</indexterm>
	<indexterm>
		<primary>svn commit</primary>
	</indexterm>
	<para>
		Commit each diff from a specified HEAD directly to the SVN repository,
		and then rebase or reset (depending on whether or not there is a diff between SVN and HEAD).
		This will create a revision in SVN for each commit in git. It is recommended that you run
		git-svn fetch and rebase (not pull or merge) your commits against the latest changes in
		the SVN repository.
	</para>
	<para>
		If you need/want to use <literal>--use-log-author</literal> or <literal>--add-author-from</literal>, please set those in git config (cf. <gitdoclink cmd="git-config" section="1"/>), also see <ulink url="https://tortoisegit.org/issue/2824">issue #2824</ulink>.
	</para>
	<para>
		<guilabel>Git Style Commit (--rmdir)</guilabel>: Remove directories from the SVN tree
		if there are no files left behind. SVN can version empty directories, and they are
		not removed by default if there are no files left in them. git cannot version empty
		directories. Enabling this flag will make the commit to SVN act like git.
	</para>
	<para>
		You can find more information at <gitdoclink cmd="git-svn" section="1"/>.
	</para>
</sect1>
