git-svn error

I decided to start tracking with git an svn project where i’m involved, but without migrating it to everyone, so i decided to install git-svn, a Git-SVN bridge that let’s you work within a subversion project using a git repository.

I tried to import my project with git svn:

$ git svn clone -s user@hostname:/path/to/repo

but then i get the error:
E: ‘trunk’ is not a complete URL and a separate URL is not specified

Thinking for a while, i realized that i need to pass the url as i was doing a checkout with svn, so you should do..

$ git svn clone -s svn+ssh://user@hostname/path/to/repo


    • Sush
    • June 12th, 2013

    Thanks a lot. You saved me!!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: