Created
March 23, 2016 15:34
-
-
Save gwillem/7931ee07d7e4564d5dcd to your computer and use it in GitHub Desktop.
Enable command line pull requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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