Issue running git-svn-mirror script on code

John Ralls jralls at
Tue Jan 22 11:54:57 EST 2013

On Jan 22, 2013, at 7:04 AM, Geert Janssens <janssens-geert at> wrote:

> What steps would your recommend to reattach private branches ? With my (limited) git knowledge I would only know how to export (git format-patch) from the old repo and import (git am) in the new clone. Is there a more direct way to do this ?

Format-patch is the *safest* way, but the following should also work, though I haven't tested it yet:
Clone the regenerated repo to a new repo (don't delete the old one yet!).
Create a new branch from the target branch in the new repo.
In the old repo, rebase the private branch on the head of the target branch (you'll want to do this before running format-patch, too). 
Back in the new repo, git pull the private branch into the new branch you just created. Rebase it onto the head of the target branch.

Can we have the gitolite repo available for a few days to test out procedures like this before we recreate the Github repo so that we can have good instructions on the wiki page?

John Ralls

More information about the gnucash-devel mailing list