TortoiseGit Manual

git svn dcommit

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.

If you need/want to use --use-log-author or --add-author-from, please set those in git config (cf. the section called “git-config(1)”), also see issue #2824.

Git Style Commit(--rmdir): 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.

You can find more information at the section called “git-svn(1)”.