SYNOPSIS
git svn <command> [options] [arguments]
DESCRIPTION
git svn is a simple conduit for changesets between Subversion and Git. It provides a bidirectional flow of changes between a Subversion and a Git repository.
git svn can track a standard Subversion repository, following the common "trunk/branches/tags" layout, with the --stdlayout option. It can also follow branches and tags in any layout with the -T/-t/-b options (see options to init below, and also the clone command).
Once tracking a Subversion repository (with any of the above methods), the Git repository can be updated from Subversion by the fetch command and Subversion updated from Git by the dcommit command.
COMMANDS
- init
-
Initializes an empty Git repository with additional metadata directories for git svn. The Subversion URL may be specified as a command-line argument, or as full URL arguments to -T/-t/-b. Optionally, the target directory to operate on can be specified as a second argument. Normally this command initializes the current directory.
- -T<trunk_subdir>
- --trunk=<trunk_subdir>
- -t<tags_subdir>
- --tags=<tags_subdir>
- -b<branches_subdir>
- --branches=<branches_subdir>
- -s
- --stdlayout
-
These are optional command-line options for init. Each of these flags can point to a relative repository path (--tags=project/tags) or a full url (--tags=https://foo.org/project/tags). You can specify more than one --tags and/or --branches options, in case your Subversion repository places tags or branches under multiple paths. The option --stdlayout is a shorthand way of setting trunk,tags,branches as the relative paths, which is the Subversion default. If any of the other options are given as well, they take precedence.
- --no-metadata
-
Set the noMetadata option in the [svn-remote] config. This option is not recommended, please read the svn.noMetadata section of this manpage before using this option.
- --use-svm-props
-
Set the useSvmProps option in the [svn-remote] config.
- --use-svnsync-props
-
Set the useSvnsyncProps option in the [svn-remote] config.
- --rewrite-root=<URL>
-
Set the rewriteRoot option in the [svn-remote] config.
- --rewrite-uuid=<UUID>
-
Set the rewriteUUID option in the [svn-remote] config.
- --username=<user>
-
For transports that SVN handles authentication for (http, https, and plain svn), specify the username. For other transports (eg svn+ssh://), you must include the username in the URL, eg svn+ssh://foo@svn.bar.com/pr