I am migrating a SVN project to Git. SVN project has following structure within repository.
/trunk
/branches
/tags
Because I want trunk to act as master branch, other branches as normal git branches and tags as git tags.
I ran below command
git svn clone --stdlayout <svn-repo-url>
and also tried
git svn clone <svn-repo-url> -T trunk -b branches -t tags
For both above command I get following error:
fatal: .git\svn\refs\remotes\origin\https;C:\Softwares\Git\index: index file open failed: Invalid argument
(in cleanup) update-index -z --index-info: command returned error: 128
W: +empty_dir: branches/<svn-repo-url>/branches
fatal: Unable to create '<my-git-working-directory>/.git\svn\refs\remotes\origin\https;C:\Softwares\Git\index.lock': Invalid argument
And if I run below command
git svn clone --trunk=/trunk --branches=/branches --tags=/tags <svn-repo-url>
I am getting following error
svn-remote.svn: remote ref '/Users/<user-id>/AppData/Local/Programs/Git/trunk:refs/remotes/origin/trunk' must start with 'refs/'
Please help