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.

  • http://www.odlotowewakacje.com/ last minute

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

  • Medelafreestyle

    Hey, thanks for the share!

    Amber

  • WilliamsGoetsch78

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

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

  • http://www.jonasgrp.com/footwear.asp Footwear Headhunter New York

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

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