mathiasvr / git-pr

:octocat: Git extension for making GitHub pull requests from the command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git pr

Create GitHub pull requests from the command line!

usage

git pr [options] ["title"] ["description"]

Omitting title and description will open the default editor, similar to git commit.

options

-b, --base "master"     Base branch for the pull request
-y, --yes               Don't show confirmation prompt
-c, --commit-message    Use the last commit message as title
-o, --browse            Open created pull request url in browser.

install

homebrew

brew install mathiasvr/repo/git-pr

manual

Place the git-pr script in your $PATH, and make it executable. Example:

chmod +x git-pr
cp git-pr /usr/local/bin

authentication

To avoid entering your password every time, set up password caching.

Optionally create a personal access token and use that instead of your password.

license

About

:octocat: Git extension for making GitHub pull requests from the command line.

License:MIT License


Languages

Language:Shell 100.0%