I am one of the current developers of the FreeGLUT project on sourceforge. This code is stored in the SVN repo, but to stimulate the contributions of others, I want to make a git repository. I already have a clone of git-svn svn trunk up on github currently on github (made with SmartGit , which is actually not compatible with git-svn).
I did this by cloning https://svn.code.sf.net/p/freeglut/code/trunk/freeglut. However, now I discovered that I had to clone https://svn.code.sf.net/p/freeglut/codeand have a SmartGit svn bridge to identify branches and trunk.
I made this new correct clone locally. Now the problem: I already have some commits in my local git repository of the old / wrong clone. I would like to transfer them to my new repo, but since the root directories on the disk do not match, the simple recalculation strategy described here will not work (I think).
I could do this with patches, because it git applyhas an argument --directoryfor prefixing the paths in the patch files that could make everything work, but then I would have to commit using commit. At least I did not find a way to put several commits in one patch file (without crushing) and play them all on top of mine HEAD.
What is the best way to solve my problem?