skip to navigation
skip to content

Not Logged In

hub 1.8

Github integration for git

Package Documentation

Latest Version: 1.20

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.

Install instructions:

You need to install docopt, requests, whelk and github3.py first. docopt,
requests and whelk can be installed with pip, github3.py (as of writing) needs
to be cloned from github as the released versions are not quite there yet.

With those prerequisites met, place git-hub somewhere on your $PATH or in git's
libexec dir, and you're done.

pip install http://seveas.net/git-hub

Usage:

(For detailed information, go to http://seveas.github.com/git-hub)

$ 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 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 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 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 whoami: Display github user info
$ git hub whois [user ...]: Display github user info

Copyright (C) 2012 Dennis Kaarsemaker <dennis@kaarsemaker.net>

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 <http://www.gnu.org/licenses/>.
 
File Type Py Version Uploaded on Size
hub-1.8.tar.gz (md5) Source 2013-02-06 135KB
  • Downloads (All Versions):
  • 39 downloads in the last day
  • 160 downloads in the last week
  • 1602 downloads in the last month