Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 8
    Certainly the most interesting answer, because it talks about what is important, the files, not the commit as a whole. Commented Jun 8, 2020 at 23:53
  • This needs more consideration, the result of cherry pick can lead to dangerous paths ^^ Commented Jan 4, 2021 at 14:52
  • 1
    I couldn't reproduce what is stated in this answer. I tried this with a simliar setup and it either resulted in a merge conflict one has to resolve or only the changes from commit B were applied. In my experiment changes from commit A were not applied. Commented Apr 11 at 8:47
  • @nistel true, I get a merge conflict also, although the conflict is quite misleading : <<<<<<< HEAD ======= import './newFileA' import './newFileB' >>>>>>> 04b2bd666b (commit B) I have edited my answer. Commented Apr 14 at 8:15