git cherry-pick not working

后端 未结 5 909
滥情空心
滥情空心 2020-11-28 09:10

I\'m trying to cherry-pick a commit from master and get it into the current production branch. However, when I execute git cherry-pick , I just

5条回答
  •  粉色の甜心
    2020-11-28 09:29

    I had same problem like you, Maybe this will help you, so make sure that you are not detached from HEAD and then try to cherry-pick them, so that means first do:

    git checkout master
    

    and then use:

    git cherry-pick 
    

提交回复
热议问题