Skip to content

Instantly share code, notes, and snippets.


tangphillip/ Secret

Created Sep 25, 2012
What would you like to do?
Find that Pull Request!
# Dependency: hub:
git rev-list --ancestry-path --reverse --grep="pull request" $1~1..HEAD | head -n 1 | xargs git cat-file commit | grep "pull request" | head -n 1 | sed "s/^.*#/pull\//" | sed "s/ .*$//" | xargs hub browse --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.