Skip to content

Instantly share code, notes, and snippets.

@sskirby
Created February 1, 2012 21:40
Show Gist options
  • Save sskirby/1719641 to your computer and use it in GitHub Desktop.
Save sskirby/1719641 to your computer and use it in GitHub Desktop.
Dev review script for the CPI project
#!/usr/bin/zsh
# Outputs a github link that you can click on to see the diff
if [[ -n $1 ]]; then
git log --pretty=oneline | egrep "Merge branch '${1}.*'.*" | awk '{print "https://github.com/nulogy/cpi/commit/" $1}'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment