git cherry-pick binary file

git cherry-pick binary file , conflict,无法diff 无法merge,

confilict 出现后 

使用 git checkout --theirs  [filepath] ,  继续 git add , git commit,会自动带上cherry-pick message

 

又查到一個

git cherry-pick --strategy=recursive -X theirs  [commitId]

也使用了一下

git cherry-pick -X theirs [commitId]

不知道這兩個有沒有差別,有人知道嗎?

 

 

posted @ 2014-04-02 21:26  xjadss  阅读(1156)  评论(0编辑  收藏  举报