Reputation: 18907
I have a repository with some commits. I want these commits replayed on a different copy of the repository in the exact same order, same commit messages, etc.
I'm hoping there is some combination of git-log, patch, and git-commit that can re-run the commits on the new repository.
Upvotes: 1
Views: 629
Reputation: 265141
You can add the other repository as a remote and fetch all changes. That way you will have the exact same commits in the same order, same hashes. I don't understand why you would want to go the route of format-patch
+ am
. git bundle
might also be an option for you.
Upvotes: 2