Skip to content

Instantly share code, notes, and snippets.

@cbguder
Created March 30, 2016 03:49
Show Gist options
  • Save cbguder/377abafa9596e4e6ce21da89c2a2ba07 to your computer and use it in GitHub Desktop.
Save cbguder/377abafa9596e4e6ce21da89c2a2ba07 to your computer and use it in GitHub Desktop.
RANGE=`expr "$CIRCLE_COMPARE_URL" : ".*compare\/\(.*\)"`
git log --oneline -i --grep "\[\(complete\|fix\|finish\).\+ #$1\]" $RANGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment