Skip to content

Instantly share code, notes, and snippets.

@gwillem
Created March 23, 2016 15:34
Show Gist options
  • Save gwillem/7931ee07d7e4564d5dcd to your computer and use it in GitHub Desktop.
Save gwillem/7931ee07d7e4564d5dcd to your computer and use it in GitHub Desktop.
Enable command line pull requests
mkdir -p ~/bin
curl -sL https://github.com/github/hub/releases/download/v2.2.3/hub-linux-amd64-2.2.3.tgz |\
tar --wildcards --strip-components 2 -xzf - \*/bin/hub -C ~/bin
echo <<EOM >> ~/.gitconfig
[alias]
pr = pull-request
EOM
git commit -m "bla"
git push origin
hub pr
# klaar!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment