I'm using git svn clone (git version 1.9.4.msysgit.0) to migrate a Subversion repository to Git.
The Subversion repository has tags with spaces in it, which leads to fatal: Not a valid object name refs/remotes/tags/Tag With Spaces errors.
According to various internet sources, this problem should have been fixed since Git 1.8.0, why am I still experiencing this? I also tried the marked answer from git-svn clone fails "fatal: Not a valid object name" which does not work either, it just changes the error to: fatal: Reference has invalid format: 'refs/remotes/tags/Tag With Spaces'.
Anybody know how to solve the problem?
The most recent version of svn2git (as detailed here) has worked for the OP.
The other option, for a one-time import, is to use SubGit, which can also accommodate various tag names, including with spaces.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With