ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Git: converting svn repo & stuff

<< < (2/2)

f0dder:
Well, the idea is that development will only continue in the public/new branch, not the private/old one - but I'd still like file history from the public/new branch to track back to the private/old one... if possible, without the public/new repo containing the private data. That, or having the two branches entirely separate, but changes going to both the public and private branches.

ecaradec:
After looking at it a little bit, it seems that git history must always be complete, there is no way to push half of a branch or have a partial repo (except shallow clones but they have limitation, that doesn't make them suitables as repository ) . But you may cheat by using grafts to stitch your history : http://bugsquash.blogspot.com/2010/03/stitching-git-histories.html . If I remember correctly grafts only exists on your local clone and can't be pushed, it might be what you're looking for.

Navigation

[0] Message Index

[*] Previous page

Go to full version