2
我創建一個SVN回購的用下面的命令在本地git的副本:從混帳創建SVN分支時,目錄結構不同
$ git svn init svn://host/path/to/repo/PROJECT/trunk workingcopy
$ cd workingcopy
$ git svn fetch
現在,我想沒有成功創建SVN分支:
$ git svn branch -n mybranch -m "Branch for my things"
Multiple branch paths defined for Subversion repository.
You must specify where you want to create the branch with the --destination argument
在.git/config
我沒有[svn-remote "svn"]
下的任何條目,如this answer建議。我嘗試添加branches = branches/*:refs/*
但這種嘗試的樹幹下創建分支:
Copying svn://host/path/to/repo/PROJECT/trunk at r6684 to svn://host/path/to/repo/PROJECT/trunk/branches/mybranch
什麼我需要做的創建在正確的位置的一個分支?