GitXplorerGitXplorer
m

git-pr

public
5 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
cd53680374c1bcd1d8b19c3f9378f5b2be6e0e75

a few shellcheck fixes

mmathiasvr committed 8 years ago
Unverified
1157deee24d67b6384ddc40c6f85dc97ebae70be

use jq for escaping json

mmathiasvr committed 8 years ago
Unverified
37179bd6d987e035eca1e394ce8ff092ffd56961

compare branch with origin remote

mmathiasvr committed 8 years ago
Unverified
5f1545da383d7d78daae62c3367273c2d44c7bf4

update readme

mmathiasvr committed 8 years ago
Unverified
e3f311ce6fcf9e237ecf61c705dd35adadc2cd9e

option to open PR in browser

mmathiasvr committed 8 years ago
Unverified
b1efbe4087e228e33d9884c33ef98b92232421ba

only use first line of last commit message

mmathiasvr committed 8 years ago

README

The README file for this repository.

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