--preserve-merges
Instead of ignoring merges, try to recreate them.
This uses the --interactive machinery internally, but combining it
with the --interactive option explicitly is generally not a good idea
unless you know what you are doing (see BUGS below).
Run Code Online (Sandbox Code Playgroud)
那么当你使用时会发生什么--preserve-merges?它与默认行为(没有该标志)有何不同?"重新创建"合并等意味着什么?
我们正试图远离TFS.使用git-tfs工具,我们能够迁移现有仓库的一部分,但在某些麻烦的签入时崩溃了.我们已经能够制作一套拼凑的Git repos,它涵盖了大多数原始TFS提交.
目前有:
期望:
我们有什么方法可以将它们拼接成一个Git仓库吗?我们不关心保留SHA(它们都是新的),但我们无法破坏文件历史记录.