Skip to main content

A git extension that allows you submit pullrequests from command line.

Project description

# git-ext

[![Pypi](https://img.shields.io/badge/pypi-v0.1-green.svg)](https://codecov.io/gh/laixintao/git-ex://pypi.python.org/pypi/git-ext) [![Codecov](https://img.shields.io/codecov/c/github/laixintao/git-ext.svg)](https://codecov.io/gh/laixintao/git-ext) [![Build](https://travis-ci.org/laixintao/git-ext.svg?branch=master)](https://travis-ci.org/laixintao/git-ext)

A git extension that allows you submit pullrequests from command line.

Current support bitbucket only, add github and gitlab in the future.

## install

Use pip to install.

pip install git-ext

Then run init-git-ext command to write your bitbucket account infomation to ~/.git_ext.yml(Pullrequests need account info with HTTP BASIC AUTH.

init-git-ext

### Optional

You can add a git alias if you are lazy like me :)

git config –global alias.pr pullrequest

## develop

export GITEXT=debug

So that you can see the logging output.

## usage

$ git pullrequest create test_b master Reviewers(start with @): 201 Created! #2 This is your commit title.[test_b->master] by boson_laixintao(just now) Reviewers:

$ git pullrequest list #2 This is your commit title.[test_b->master] by boson_laixintao(just now)

$ git pullrequest Usage: git-pullrequests [OPTIONS] COMMAND [ARGS]…

Options:
--help

Show this message and exit.

Commands:

activity Show a pr’s activity, display lastest 10… create list

## Licenses

GPLv3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-ext-0.2.3.tar.gz (6.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page