我有两个彼此非常不同的分支,但是一个分支包含一些我想添加到其他分支的有用代码。这些分支在很久以前就发生了分歧,我无法合并它们,因为它们的许多特征都不相同,并且合并也不可行。 来自捐助分支的有用代码被添加到连续的提交中,并且我有我想要挑选的提交的哈希值。当我发出命令git cherry-pick hash1 hash2时,我被告知nothing to commit, working tree cle
我做如下 git cherry-pick 5eb68e3
error: could not apply 5eb68e3... Switched timezone to IST
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add> <paths>' or 'git rm <path