How to I update the path to a moved git-svn remote branch

I have been using git and git-svn for a while now but we have moved out svn repository server to another location. So what i am wondering is what to I need to do for git to look at the new remote path so i can continue like before. I have tried changing the url in config to look at the new repo but then when i try git svn rebase I just get :

Unable to determine upstream SVN information from working tree history

  • Android adding custom lint rule to the project (git)
  • Production and Development environment sync
  • Preventing from changing all the time
  • Jenkins trigger a build based on the commit in multiple projects
  • Git - delete older commit like it and its changes never happened
  • How to preserve history on bitbucket while moving files within a repository
  • The svn repo is exactly the same but has just moved locations to another url.

    Thanks in advance.

  • how do i store a gemfile within my local directory ( for GIT V.C. ) running RVM
  • git submodule update per branch
  • Git log output to XML, JSON, or YAML?
  • Moving master head to a branch
  • Check if git branch exists in bash: weird interpolation behavior
  • how to get code of specified tag version of Chromium from git?
  • One Solution collect form web for “How to I update the path to a moved git-svn remote branch”

    You need to change the svn-remote.svn.url. You can view it like so

    % git config --get svn-remote.svn.url

    and set it like this:

    % git config svn-remote.svn.url http://foo/bar

    or via your editor:

    % git config -e
    Git Baby is a git and github fan, let's start git clone.