I red in that suggested method to combine more repositories is move every
commit of a repository into a subdir with git branch-filter --index-filter
command. And then init a new repository (destination one) and make a pull
into destination repository for every repository that you would merge (see
Now my tool is complete (http://github.com/geppo12/GitCombineRepo).
The question was relative to a problem regarding import of multiple branch
that now I solved.
for each original repo I do
git remote add origin <repo path>
git pull origin master
git fetch origin
git fetch --tags origin
for each head in headlist do
git branch $head origin/$head
git remote rm origin
with this sequence seem that i can import all reference form each repos to a
combined repository... but I'm still working on it
Giuseppe 'Ninjeppo' Monteleone
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at