开发者

git - manual replay of commits from git log to a different repository?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜