I can init and fetch file with git-svn, but can't clone

I read the manual and it said clone is Runs init and fetch.

But I tried this:

  • GIT GUI for solo project: Windows PC for development, but git + active, working project repo on a LAN headless linux server?
  • Git: copy all files in a directory from another branch
  • A way to do stuff with files in git's staging/commit area without using the full path?
  • Can't set origin on github repo
  • How can I propogate my git configuration/hooks?
  • Managing Temporary Files Created by an IDE in Git
  • git svn clone -T http://svn.felspar.com/public/m-intercept/trunk/

    then got:

    fileparse(): need a valid pathname at /usr/lib/git-core/git-svn line 405

    And not any file was downloaded.

    But when I used:

    git svn init http://svn.felspar.com/public/m-intercept/trunk/
    git svn fetch

    All right. It works perfectly. I use the exact same URL.

  • How to edit commit message of a pushed git commit
  • How to run a shell command in ansible's check mode?
  • How do i move my current work to a topic branch?
  • How do I tell git-svn about a remote branch created after I fetched the repo?
  • svn commit fails: File not found: Transaction »52-1r«
  • See what git fetch displayed last time
  • One Solution collect form web for “I can init and fetch file with git-svn, but can't clone”

    The -T parameter expects the name of the trunk dir.

    Normal usage would be

    git svn clone -T trunk -t tags -b branches http://svn.felspar.com/public/m-intercept

    to tell git where to look for trunk, tags and branches and map them to git tags and branches.

    Git Baby is a git and github fan, let's start git clone.