A git svn clone
with --stdlayout
get me multiple branches if the source SVN repo has multiple branches (and tags).
I want to push all of them to another git repo. The git svn clone
did seem to have retrieved all the history for all the versions. Is this a matter of giving better instructions to git push?
Here's my possibly misguided workflow intention.
- run git svn to clone svn into a private repo.
- push it to a shared repo managed with gitosis
- make a shared work branch
- various people the gitosis-managed repo, make private branches, and merge into the shared work branch.
- I pull from the shared repo back to the one I created in step 1, merge to trunk, and dcommit.
Here's the output of git branch -a
after running the git svn clone
.
/Users/benson/x/tsk/tsk_git_svn git branch -a
* master
remotes/origin/master
remotes/sleuthkit-3.0
remotes/sleuthkit-3.1
remotes/tags/sleuthkit-3.0.0
remotes/tags/sleuthkit-3.0.1
remotes/tags/sleuthkit-3.1.0
remotes/tags/sleuthkit-3.1.0b1
remotes/tags/sleuthkit-3.1.1
remotes/tags/sleuthkit-3.1.2
remotes/tags/sleuthkit-3.1.3
remotes/tags/sleuthkit-3.1.3b1
remotes/tags/sleuthkit-3.2.0b1
remotes/tags/sleuthkit-3.2.0b2
remotes/trunk