How to install git-svn on Linux Mint 15 (Olivia)

I am required to interface with SVN at work, but prefer to run Git locally to allow me to have multiple local branches open at any given time. After making the switch from Windows 7 to Linux Mint 15 (Olivia) Cinnamon, I’m finding that gitsvn doesn’t appear to be available for this release of Linux Mint.

So far, I’ve tried installing it from, but the install returns an error message:

  • Nginx Configuration Versioning Strategy
  • How to only pull latest commit in a git submodule
  • How does a git branch relate to other branches in my repo?
  • Git: How to treat commit so that versions of a file exist in their entirety (not just as diffs)
  • How two users can make git pull in same local git path?
  • Why does Git use a cryptographic hash function?
  •     Package 'git-svn' is virtual

    I can find no solution for this error.

    I’ve also attempted to install it directly in a terminal window:

        sudo apt-get install git

    While I successfully installed Git, it is not current ( vs. and this implementation of Git doesn’t appear to have a “git svn” command, but does have a “git clone” command. This “git clone” command doesn’t appear to have any ability to talk with SVN.

    I have tried using the following:

        sudo git clone https://<username>@<domain>/svn/<projectname>/trunk <folder_to_checkout_to>

    After providing the SVN server password, it attempts to clone the SVN repository, but returns with the following error:

       fatal: hhttps://<username>@<domain>/svn/<projectname>/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?

    I don’t know what this means. In searching on Google and StackOverflow, I’ve found that the SVN path may be bad or not exist, but I’ve verified the path is valid as I can access the same path by placing it in a browser and signing in.

    I thought this error might be caused by the folder_to_checkout_to not existing yet, but when I create the folder and call a “git init” and then re-execute the git clone command above from the parent directory, it returns:

        fatal: destination path '<folder_to_checkout_to>' already exists and is not an empty directory

    Using Mysysgit in Windows, the syntax that worked to clone and checkout an SVN repository using Git was as follows:

       git svn clone <path_to_repository> -T trunk <folder_to_checkout_to>/

    With my install of Git on Linux Mint, it doesn’t have the command “git svn” at all. Any help will be appreciated.

    How do I get git-svn installed?

  • Who is successfully using git-flow?
  • Git ignore is not ignoring the netbeans private files
  • How to set a version dependent Git global config flag
  • Pushing from local master to a remote non-master branch
  • Error while pull from git - insufficient permission for adding an object to repository database .git/objects
  • confusion writing git filter-branch to move all files in to subdirectory
  • 2 Solutions collect form web for “How to install git-svn on Linux Mint 15 (Olivia)”


    You can check this documentation:

    If this doesn’t works, try this method instead:

    $which git
    $sudo apt-get install git-core
    $which git
    $git --version

    Git is installed by default on mint 16 mate.
    use “git –version” to check.

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