git svn ambiguous argument 'HEAD'

Viewed 7568
   $ git svn clone -s http://a_repo local_dir ( by default this brings me r1 ) to hdd
    Initialized empty Git repository in d:/Temp/local_dir/.git/
    r1 = some_SHA (refs/remotes/trunk)

   $ cd local_dir
   $ git svn rebase
   fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
   Use '--' to separate paths from revisions
   log --no-color --no-decorate --first-parent --pretty=medium HEAD: command returned error: 128

How can I actually checkout the repo?

I also tried without rebasing, to use fetch, but it only brings one revision at a time. We have several thousand commits, at this rate, it will take days to copy the repository.

3 Answers
Related