Subversion has no concept of branch or tag. Instead, they are usually modeled by simply copying the contents of the repository into a directory.
In order for git svn to recognize branches and tags and the main branch ("trunk"), you need to explicitly specify where to find them using --tags (or -t ), --branches (or -b ) and --trunk (or -t ).
However, many Subversion repositories follow the standard conventions set forth in the Subversion book, --trunk=/trunk --branches=/branches --tags=/tags . --stdlayout (or -s ) encodes this convention, so you don't need to pass the same arguments every time you clone a Subversion repository.
You can find this information on the git-svn(1) manual page, which you can access on Unix using man git-svn and regardless of the operating system through the built-in Git help system with git help svn . All Git man pages are also available on Kernel.Org, and they are usually the first search result when searching for git-svn(1) .
JΓΆrg W Mittag Mar 19 '11 at 10:40 2011-03-19 10:40
source share