Submit a pull request from the command line
Github offers a git extension for augmenting the git command line tool with github specific functionality. This extension is called hub.
hub
adds the git alias pull-request
to git. This alias/command creates a
pull request from the current branch to master by default:
git pull-request
Additionally, you can specify which branch would be the base with the first argument and which branch would be the head with the second argument, like so:
git pull-request devolop feature/add_colors
Tweet