Is there a way to ‘git svn dcommit’ from a cloned git-svn repository :
I have several branches in my svn, sometimes it is very small branch and it is nice to have it in the same directory, but sometimes these branches grow big and it is nice to move the whole thing to another folder.
But when I do a git clone from this local repository to another place on my disk git-svn lost all its information and I don’t known how to connect it back. I suppose I could just make a copy of the folder, but doing it through git would be nicer.
Once you’ve cloned a
git-svnrepo, you can pull in the information you need by runninggit svn initwith the same parameters as the original repo was created with. According to the WebKitgit-svninstructions, the trick is to useupdate-refto get yourself to a state where you can fast-forward to the tip of the SVN tree:The exact parameters passed to
git svn initdepend on the setup of your Subversion repo andgit-svnclone.