Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
# Put in $PATH/git-pr; chmod +x
# Call with `git pr` to open a compare view for the current branch and a pull request from that
# Depends on https://hub.github.com/
hub compare dev..`git rev-parse --abbrev-ref HEAD`
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.