我想櫻桃選這個提交id到另一個分支。Cherry-pick Automerge commit id
commit f0ca878ef7748975ee3110923310da6491dd9a23
Merge: 17eb265 4d712a1
Author: ravi<[email protected]>
Date: Thu Dec 3 12:40:19 2015 +0530
Merge branch 'master' of https://github.com/HexagonGlobal/hexgen into master
雖然做摘櫻桃,我收到此錯誤
D:\GitHub\sysbiz\src>git cherry-pick f0ca878ef7748975ee3110923310da6491dd9a23
error: Commit f0ca878ef7748975ee3110923310da6491dd9a23 is a merge but no -m option was given.
fatal: cherry-pick failed
在此先感謝
從文檔:* - 主線父數 通常你不能摘櫻桃的合併,因爲你不知道該合併方應被視爲主線做。此選項指定主線的父代號(從1開始),並允許櫻桃選擇重放相對於指定的父代的更改。* – Atri
[git cherry-pick說的可能重複「... 38c74d是合併但不是-m選項被給出「](http://stackoverflow.com/questions/9229301/git-cherry-pick-says-38c74d-is-a-merge-but-no-m-option-was-given) –