Skip to content

Instantly share code, notes, and snippets.

@toddself
Created February 11, 2013 20:17
Show Gist options
  • Select an option

  • Save toddself/4757243 to your computer and use it in GitHub Desktop.

Select an option

Save toddself/4757243 to your computer and use it in GitHub Desktop.
function pr (){
args=("$@")
git_branch=$(git branch 2>/dev/null | sed -n '/^\*/s/^\* //p')
git pull-request ${args[0]} -b updtr:development -h updtr:$git_branch
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment