I created a project on github for mirroring my project on Google Code. I am new to git, so maybe there is a better way to do this.
First clone the Subversion repository and push to the Git:
First clone the Subversion repository and push to the Git:
git svn clone https://foo.googlecode.com/svn/ git-fooAfter committing in the Subversion repository, run
cd git-foo
git remote add git-foo [email protected]:username/foo.git
git push git-foo master
cd /path/to/git-foo
git svn fetch
git svn rebase
git push git-foo master