0

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
...
Community
  • 1
  • 1
bswinnerton
  • 4,533
  • 8
  • 41
  • 56

1 Answers1

2

Just rebase ruby/master on top of php/master:

git rebase php/master ruby/master
the.malkolm
  • 2,391
  • 16
  • 16