我有兩個彼此非常不同的分支,但是一個分支包含一些我想添加到其他分支的有用代碼。這些分支在很久以前就發生了分歧,我無法合併它們,因爲它們的許多特徵都不相同,並且合併也不可行。 來自捐助分支的有用代碼被添加到連續的提交中,並且我有我想要挑選的提交的哈希值。當我發出命令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