tags:

views:

129

answers:

2

We use SVN here at the office and I'm experimenting with using git-svn for myself.

I created a directory in /usr/local/code/git and did my checkout to /testco.

I used the commands given in the man page, git svn clone , where is my repo.

It goes through a few hundred lines of all the files in the SVN trunk, but when its done the directory only contains a .git file. None of the other files are there. Anyone know what's going on?

A: 

You need something resembling the following:

git svn init -t foo/tags -b foo/branches -T foo/trunk path_to_repo
git svn fetch

For a really good intro to git-svn, check out git-svn is a Gateway Drug.

Hank Gay
A: 

looks like git forgets to checkout your files. do:

git checkout master
knittl