Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laixintao/git-ext
🛠A git extension that allows you submit pullrequests from command line.
https://github.com/laixintao/git-ext
bitbucket git pullrequest
Last synced: 3 months ago
JSON representation
🛠A git extension that allows you submit pullrequests from command line.
- Host: GitHub
- URL: https://github.com/laixintao/git-ext
- Owner: laixintao
- Created: 2017-07-01T16:21:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T13:18:22.000Z (about 6 years ago)
- Last Synced: 2024-09-15T07:50:27.839Z (4 months ago)
- Topics: bitbucket, git, pullrequest
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 21
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=======
git-ext
=======Create PullRequest, view activities/discussion from command line.
.. image :: https://img.shields.io/badge/pypi-v0.1-green.svg
:target: https://pypi.python.org/pypi/git-ext
.. image :: https://img.shields.io/codecov/c/github/laixintao/git-ext.svg
:target: https://codecov.io/gh/laixintao/git-ext
.. image :: https://travis-ci.org/laixintao/git-ext.svg?branch=master
:target: https://travis-ci.org/laixintao/git-extA git extension that allows you submit pullrequests from command line.
.. image :: https://asciinema.org/a/gWZNPXthrS9gpeDOaf5FTd0ak.png
:target: https://asciinema.org/a/gWZNPXthrS9gpeDOaf5FTd0akCurrent support:
- gitlab
- bitbucketTo support:
- github
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
Or edit `~/.git_ext.yml` by hand: ::
bitbucket:
email: ''
password: ''
gitlab:
domain: ""
private_token: ""
git_ext:
logging: {format: '%(name)s - %(message)s', level: DEBUG}Optional
--------You can add a git alias if you are lazy like me :)::
git config --global alias.pr pullrequest
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
listDevelop
-------Export a enviroment to see the logs::
export GITEXT=debugLicenses
--------GPLv3