This is a how to migrate a svn repository or repository folder to git when you have full control on the svn repository.
mkdir C:\Temp\svn_migration
the structure of passwd file is sthg like
user = password
create a new authors.txt file in C:\Temp\svn_migration
and use this layout. only the left hand side of the equal is relevant for us. (for the example above : user)
user = aName aLastName <auser@example.com>
"C:\Program Files (x86)\Subversion\bin\svnserve.exe" -d -R --root C:/Temp/svn_migration/svn_repository
C:\Temp\svn_migration
**git svn clone svn://localhost/path/to/your/repo --no-minimize-url --no-metadata -A authors.txt someFolderName**
note : The --no-minimize-url
makes sure that git svn only clones the specific directory without trying to clone the root of the repository.
cd to your git repo C:/Temp/svn_migration/someFolderName
then
**git remote add origin https://yourRemotegiturl**
**git push --set-upstream origin master**