git cherry is neat

Sometimes I’ll patch a production bug in my production branch and then I will forget to merge that commit into the development branch. This is how I can check for that:

    $ git checkout production_branch
    $ git cherry dev_branch

This will spit out a list of commits that are in production_branch but not in dev_branch. It will not return any commits made to dev_branch but not in production_branch. It is not the same as a diff of the two branches either.

  • last minute

    Very good job, I think. I will send to my friend.

  • Medelafreestyle

    Hey, thanks for the share!


  • WilliamsGoetsch78

    Hello Mate, I would like to know more on this when is the next post comming

    jenny omper
    pass a drug test | pass drug test | pass marijuana drug test

  • Footwear Headhunter New York

    Now this is highly recommended post for me. I will surely email this to my friend.

    Alejandro Jaylon
    business loans for bad credit | how to beat a drug test | ways to pass a drug test