I’m using git-svn to store a ‘staging’ version of some SVN repo, where other users are allowed to pull from this staging repo and commit there changes back to it, then the commits on the staging repo are periodically committed the upstream SVN repo.
I want to know if there’s a way to map between the git committers’ names and SVN usernames, so that their information would be kept intact when committing back to the SVN repo?
Vincent Danen does mention the -A option when using git svn:
Syntax is compatible with the file used by git-cvsimport:
This should work for all
git-svncommands, includinggit-svn dcommit(when you push to SVN) (Note: I have not tested it directly though).Mohammed Gamal does report (in the comments) it is working, but without the
--no-metadataoption.