Skip to main content

Git subcommands for integrating with central services like github, gitlab and bitbucket

Project description

Many central git hosting services, such as GitHub and GitLab, provide an API to perform actions such as creating repositories and filing pull requests. git-spindle is a collection of git subcommands to make using these services easier.

For example, to fork and clone a repository on GitHub, one can now simply use

git hub clone seveas/whelk

With this git subcommand, you can perform various github actions, such as creating or forking a repository from the command line.

To install the latest released version:

pip install git-spindle

If you use windows, you’ll want to install git and pip via msys2. Download msys2 from and use pacman to install pip and git:

pacman -Syu pacman -S git pacman -S mingw-w64-i686-python2-pip


(For detailed information, go to

git hub add-hook <name> [<setting>…] git hub add-public-keys [<key>…] git hub add-remote [–ssh|–http] <user>… git hub apply-pr <pr-number> git hub browse [–parent] [<repo>] [<section>] git hub calendar [<user>] git hub cat <file>… git hub clone [–ssh|–http] [–parent] <repo> git hub create [–private] [-d <description>] git hub edit-hook <name> [<setting>…] git hub fork [–ssh|–http] [<repo>] git hub forks [<repo>] git hub gist [–desc <description>] <file>… git hub gists [<user>] git hub hooks git hub ignore [<language>…] git hub issue [<repo>] [–parent] [<issue>…] git hub issues [<repo>] [–parent] [<filter>…] git hub log [–type=<type>] [<what>] git hub mirror [–ssh|–http] [–goblet] [<repo>] git hub network [<level>] git hub public-keys [<user>] git hub pull-request [–issue=<issue>] [<branch1:branch2>] git hub remove-hook <name> git hub render [–save <outfile>] <file> git hub repos [–no-forks] [<user>] git hub say [<msg>] git hub set-origin [–ssh|–http] git hub status git hub whoami git hub whois <user>…

git lab add-public-keys [<key>…] git lab add-remote [–ssh|–http] <user>… git lab apply-merge <merge-request-number> git lab browse [–parent] [<repo>] [<section>] git lab cat <file>… git lab clone [–ssh|–http] [–parent] <repo> git lab create [–private|–internal] [-d <description>] git lab fork [–ssh|–http] [<repo>] git lab issue [<repo>] [–parent] [<issue>…] git lab issues [<repo>] [–parent] [<filter>…] git lab log [<repo>] git lab merge-request [<branch1:branch2>] git lab mirror [–ssh|–http] [–goblet] [<repo>] git lab public-keys [<user>] git lab repos [–no-forks] git lab set-origin [–ssh|–http] git lab whoami git lab whois <user>…

Copyright (C) 2012-2014 Dennis Kaarsemaker <>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.

Project details

Download files

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

Files for git-spindle, version 2.2
Filename, size File type Python version Upload date Hashes
Filename, size git-spindle-2.2.tar.gz (1.8 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page