All Projects → laixintao → git-ext

laixintao / git-ext

Licence: other
🛠 A git extension that allows you submit pullrequests from command line.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to git-ext

go-bitbucket-v1
Bitbucket-server API (v1.0) library for Golang.
Stars: ✭ 45 (+114.29%)
Mutual labels:  bitbucket
bitbucket-sync
Mirror of BitBucket Sync project hosted on BitBucket
Stars: ✭ 18 (-14.29%)
Mutual labels:  bitbucket
prom-bitbucket-exporter
Prometheus Exporter for Bitbucket
Stars: ✭ 47 (+123.81%)
Mutual labels:  bitbucket
Client
Bitbucket API 2.0 client for PHP
Stars: ✭ 85 (+304.76%)
Mutual labels:  bitbucket
pr-techblog
دست نوشته های فنی فارسی زبان
Stars: ✭ 71 (+238.1%)
Mutual labels:  pullrequest
GitWebLinks
Copy links to files in their online Git repositories from inside Visual Studio Code and Visual Studio 2022.
Stars: ✭ 28 (+33.33%)
Mutual labels:  bitbucket
badwolf
Docker based continuous integration, continuous deployment and code lint review system for BitBucket
Stars: ✭ 88 (+319.05%)
Mutual labels:  bitbucket
feater
Tool for rapid deployment of selected features of your web application to isolated testing or demo environments.
Stars: ✭ 27 (+28.57%)
Mutual labels:  bitbucket
git-the-lines
A Discord bot that prints out the lines referenced in a GitHub, GitLab, or BitBucket snippet link
Stars: ✭ 37 (+76.19%)
Mutual labels:  bitbucket
froggit-go
Froggit-Go is a universal Go library, allowing to perform actions on VCS providers.
Stars: ✭ 19 (-9.52%)
Mutual labels:  bitbucket
compare-url
CircleCI 2.1 pipelines disable the CIRCLE_COMPARE_URL environment variable, useful when working with monorepo projects. This orb manually recreates (and improves!) it.
Stars: ✭ 31 (+47.62%)
Mutual labels:  bitbucket
contwidgetor
Displays your contributions from Github and Bitbucket
Stars: ✭ 27 (+28.57%)
Mutual labels:  bitbucket
migrate bitbucket server to bitbucket cloud
Migrate Atlassian Bitbucket Server to Bitbucket Cloud
Stars: ✭ 13 (-38.1%)
Mutual labels:  bitbucket
action-branch-name
Github action to enforce naming convention on branch names
Stars: ✭ 53 (+152.38%)
Mutual labels:  pullrequest
bitbucket-hg-exporter
A tool for exporting all project data from a BitBucket mercurial repository
Stars: ✭ 19 (-9.52%)
Mutual labels:  bitbucket
gitcolombo
🧬 Extract and analyze contributors info from git repos
Stars: ✭ 55 (+161.9%)
Mutual labels:  bitbucket
deployserver
Deploy your project automatically when git branch was updated.
Stars: ✭ 24 (+14.29%)
Mutual labels:  bitbucket
pm2-githook
receive webhook from github/gitlab and ask pm2 to reload the application for you
Stars: ✭ 39 (+85.71%)
Mutual labels:  bitbucket
composer-diff
Compares composer.lock changes and generates Markdown report so you can use it in PR description.
Stars: ✭ 51 (+142.86%)
Mutual labels:  pullrequest
mattermost-bitbucket-bridge
Flask application that serves as a bridge between Bitbucket and Mattermost.
Stars: ✭ 18 (-14.29%)
Mutual labels:  bitbucket

git-ext

Create PullRequest, view activities/discussion from command line.

https://travis-ci.org/laixintao/git-ext.svg?branch=master

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

https://asciinema.org/a/gWZNPXthrS9gpeDOaf5FTd0ak.png

Current support:

  • gitlab
  • bitbucket

To 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
  list

Develop

Export a enviroment to see the logs:

export GITEXT=debug

Licenses

GPLv3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].