Skip to content

cherry bonus

Latest
Compare
Choose a tag to compare
@garryyao garryyao released this 21 Nov 06:26
· 2 commits to develop since this release

New features

Added the following new git subs that are handy for cherry-pick based git workflow:

  • git pick [ref]/[merge] - Try to cherry-pick ref as a single commit, but if <ref> is a merge, this will cherry pick individually all commits that's been merged.
  • git cherries <upstream> <head> - Determine the commits that are not "ported" from <head> to <upstream>, it's like git cherry but the equivalence test is based on commit subject sameness.
  • git find <ref> --all/branches/tags/remotes[=<pattern>] - Search for a commit in the git log graph, think of "git branch --contains" but but the equivalence test is based on commit subject sameness.

cherry-bonus