Skip to content

Instantly share code, notes, and snippets.

@oakfang
Created August 9, 2016 08:12
Show Gist options
  • Save oakfang/1b9e3d27d7c5710eea44c7e0475a412b to your computer and use it in GitHub Desktop.
Save oakfang/1b9e3d27d7c5710eea44c7e0475a412b to your computer and use it in GitHub Desktop.
Command line PRs with github templates
# Make sure to export EDITOR in your .bashrc as either vim or nano.
# Make sure to install vipe (npm i -g juliangruber/vipe)
# Make sure to install hub (brew install hub)
# Don't forget to add your PR title as the first block
alias pr="cat .github/PULL_REQUEST_TEMPLATE.md | vipe | hub pull-request -b develop -F -"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment