I have cloned a SVN repo with the command git svn clone ... --trunk=trunk --tags=tags --branches=branches
.
The operation have been correctly executed, and now when I list my branches I have all the past tags such as :
$ git branch -a
* master
remotes/tags/1.0
remotes/tags/2.0
I can easily checkout the branches and creates real git tags, but how can I remove the remote branch remotes/tags/1.0
when I'm done?
Another option would be to try and import the svn repo with the ruby script svn2git:
svn2git
is a tiny utility for migrating projects from Subversion to Git while keeping the trunk, branches and tags where they should be.
That means the 'svn branches' tags would be actual git tags in the git repo.