Skip to main content

Git and GitHub for the productivity addicted

Project description

https://travis-ci.org/peterbe/gg.svg?branch=master https://badge.fury.io/py/gg.svg

Git and GitHub command line swiss army knife for the productivity addicted.

gg is a base command, and all the work to create branches, list branches, clean up branches, connect to Bugzilla etc. are done by plugins.

gg is stateful. Meaning, plugins (not all!) need to store additional information that is re-used for other commands. For example, to connect to your GitHub account might need to store a GitHub Access Token.

Installation

NOTE! At the time of writing, gg requires Python 3.

The idea is that you install gg globally:

sudo pip install gg

But that’s optional, you can also just install it in your current virtual environment:

pip install gg

If you don’t want to install gg and its dependencies in either the current working virtual environment or in your global system Python, you can first install pipsi then once you’ve installed and set that up:

pipsi install gg

Next, you need to install some plugins. See PLUGINS.rst for a list of available plugins.

Bash completion

First download gg-complete.sh and save it somewhere on your computer. Then put this line into your .bashrc (or .bash_profile if you’re on OSX):

source /path/to/gg-complete.sh

How to develop

To work on this, first run:

pip install -U --editable .

Now you can type:

gg --help

If you have install more plugins they will be listed under the same --help command.

Version History

0.1
  • Proof of concept

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

gg-0.0.9.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gg-0.0.9-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file gg-0.0.9.tar.gz.

File metadata

  • Download URL: gg-0.0.9.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gg-0.0.9.tar.gz
Algorithm Hash digest
SHA256 34007a7d243526754fde24ca65b45f679de099a53cdcc221e852467d8e3fc759
MD5 55f74f8ead7431ed85d81eb793b6efa7
BLAKE2b-256 5559118d4cd3759ab59f494bf9aefcc39d9ae6cbbc68f708abfb05d62fbd3542

See more details on using hashes here.

File details

Details for the file gg-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: gg-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gg-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 201f3038c9b3e0f307bc2627d7824f4d084a50d48b384715835d405c7285bf6a
MD5 6f1ad7913be17882c822cccd41328a97
BLAKE2b-256 8bde74d67f35ffbfcabb882d7f710339a17e70a2947a474d29fb5a22dc63ac6e

See more details on using hashes here.

Supported by

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