まず、実行できます
$ subgit configure --svn-url PROJECT_ROOT repo.git
次に、以下の条件に応じて repo.git/subgit/config を編集します。継続的な同期が必要な場合、他のブランチを翻訳したいですか (たとえば、誰かが refs/heads/new ブランチをプッシュした場合、SVN に翻訳する必要があります)? はいの場合、次の構成が必要です。
trunk = trunk:refs/heads/master
branches = x:refs/heads/develop
branches = *:refs/heads/*
#it's up to you whether you want to have tags/shelves or not
#shelves = shelves/*:refs/shelves/*
#tags = tags/*:refs/tags/*
いいえの場合は、特定のブランチのみを指定できます。
trunk = trunk:refs/heads/master
branches = x:refs/heads/develop
#it's up to you whether you want to have tags/shelves or not
#shelves = shelves/*:refs/shelves/*
#tags = tags/*:refs/tags/*
refs/heads/branch をプッシュする 2 番目のケースでは、SubGit はそれを無視します。1 回だけ翻訳する必要がある場合は、両方の構成は同じです。
最後に、実行します
$ subgit install repo.git
継続的な同期が必要ない場合は、実行できます
$ subgit uninstall repo.git