Possible Duplicate:
Combining multiple git repositories
I'm recoding an application from PHP to Ruby. Is there a way to merge the two repositories while keeping the commits of each version? Ideally it would be something like this
[ruby repository]
commit 1
commit 2
commit 3
...
[php repository]
...
commit 54
commit 55
commit 56
[new repository]
...
commit 54
commit 55
commit 56
commit 1
commit 2
commit 3
...