skip to navigation
skip to content

hub 1.19

Github integration for git

Package Documentation

Latest Version: 2.0

Github integration for git

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 hub

To install the latest development version:

pip install


(For detailed information, go to

$ git hub add-hook [name] [setting ...]: Add a service hook
$ git hub add-public-keys [keys]: Adds the keys to your public keys
(defaults to all keys it can find)
$ git hub add-remote [user]: Add user's fork as a remote by that name
$ git hub browse [--parent]: Browse the repo (or its parent) on github
$ git hub calendar [user]: Show a timeline of a user's activity
$ git hub cat [file]: Display a file as present on github
$ git hub clone [repo]: Clone one of your repositories by name
$ git hub create: Create a repository on github to push to
$ git hub edit-hook [name] [setting ...]: Edit a service hook
$ git hub fork [url or user and repo]: Fork a repo and clone it
$ git hub forks: List all forks of this repository
$ git hub gist [files]: Create a new gist from files
$ git hub gists [user]: List a users gists
$ git hub hooks: List service hooks
$ git hub issue [issue number ...]: Issue details
$ git hub issues [filters]: List issues
$ git hub log [what]: Display github action logs for users or repos
$ git hub mirror [repo]: Mirror a repo or update it
$ git hub network: Create a graphviz graph of followers and forks
$ git hub pull-request [branch1:branch2]: Opens a pull request to merge
your branch1 to upstream branch2 (defaults are current branch and master)
$ git hub remove-hook [name]: Remove a service hook
$ git hub render [file]: Render a markdown page and show it in your browser
$ git hub repos [user]: List all repos of a user, by default yours
$ git hub set-origin: Set the remote 'origin' to github.
If this is a fork, set the remote 'upstream' to the parent
$ git hub status: Show the last few GitHub status messages
$ git hub whoami: Display github user info
$ git hub whois [user ...]: Display github user info

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

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 <http:"" licenses=""/>.
File Type Py Version Uploaded on Size
hub-1.19.tar.gz (md5) Source 2014-04-06 141KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 290 downloads in the last week
  • 1617 downloads in the last month