gitgit-loggit-cherry

See commits between branches (git cherry) with descriptions?


The git cherry command is great for seeing what commits have happened between two branches. However, by default it just gives you a list of commit IDs - not that informative.

$ git cherry master dev # Commits in "dev" since it forked from "master"
+ 54408ddc6403376c638d5bfc94c033ab655da7b3
+ 68bc4277954b7de4c95881904de22f1d443366ae
+ d74ab86eee75a8e5c1a835a6e69e74c01d4186e8

How can I get the same list with more information?


Solution

  • You can use git cherry -v master dev

    It will show commit message with commit hash.