How to show order of commits for cherry-pick

I am sometimes given a set of commits from a master branch which I am supposed to cherry-pick to our release branch. However, as the set I receive is unordered, I go through a manual process of inspecting the git log to ensure that i pick the commits in the same order as they appear on the master branch.

How can I do this with a command?

  • How to unshelve changes using git-p4
  • How can I automatically get git to push a local branch to a different remote branch
  • TeamCity build does not run new XUnit tests
  • git pull with “--work-tree” flag fails
  • Git merge two remote branches in one repository
  • git - pulling from specific branch
  • Git: Remove single file from branch, whilst keeping it in the project
  • Maven scm add to repository name of submodule
  • Capistrano deploy with bitbucket - Permission denied (publickey)
  • Make git reset --hard to ignore permission changes
  • How to make git-diff and git log ignore new and deleted files?
  • How to check status of remote Git repository?
  • One Solution collect form web for “How to show order of commits for cherry-pick”

    You don’t need to do anything – git cherry-pick will automatically apply the commits in the correct order. The order in the command line does not matter.

    Git Baby is a git and github fan, let's start git clone.