views:

89

answers:

3
+2  Q: 

what is git-svn

once you have checked out a svn repository with git-svn, and you do some work, push your commits to the svn repository ?

+3  A: 

You can push them back to yuor svn repo with git svn dcommit

Commit each diff from a specified head directly to the SVN repository, and then rebase or reset (depending on whether or not there is a diff between SVN and head).
This will create a revision in SVN for each commit in git.

It is also possible to make just one SVN revision when pushing back.

Note:

It is recommended that you run git svn fetch and rebase (not pull or merge) your commits against the latest changes in the SVN repository.

That will avoid merge conflict resolution locally (in your git repo) before sending back th result in the SVN repo.

If the dcommit operation fails in the middle of transmitting a large number of commit, this blog post can show you how to pick up where you left off.

VonC
A: 

You can push the commits you have done with git svn dcommit

git-svn is a way to use a subversion repository with the git toolset.

Peter Smit
A: 

If you are looking for what it is as the title of the question shows, here is a nice tutorial:

Git - SVN Crash Course

Sarfraz