0

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?

Geuis
  • 41,122
  • 56
  • 157
  • 219

2 Answers2

0

looks like git forgets to checkout your files. do:

git checkout master
knittl
  • 246,190
  • 53
  • 318
  • 364
0

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
  • 70,339
  • 36
  • 160
  • 222