I have a repository with some c开发者_StackOverflow社区ommits. 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.
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.
精彩评论