How to remove subversion remote in git?

Viewed 18043

I have a git repository that was originally created using git-svn. Now I have a git server that I push to and the svn repository has been lost. Can I remove the svn remote? How?

4 Answers

If you don't have any local config and you want to forego faffing about in the .git directory, simply clone the git repo from the git remote to a new directory and remove the old directory.

If you do have some simple local config (for example a different user/email to your global config), it's probably still easier to do this, and then restore any local config after cloning.

Related