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:

  • ignoring local config files in git
  • Github .pdf diffs
  • How to uncommit my last commit in git
  • Git create branch where detached HEAD is
  • How can I get a unified git diff in Visual Studio Code?
  • Maintaining directory structure during Android Studio import
  • 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 manage multiple projects based on the same template in git?
  • git rebase fatal: Needed a single revision invalid upstream –i
  • How will Git merge this?
  • How to set up a git repository for an IDE-based project?
  • MSysGit and ssh config. missing
  • git: how to get changes nicely back into master when working with submodules
  • 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.