hub
A wrapper for Git that adds commands for working with GitHub-based projects. If set up as instructed by `hub alias`, one can use `git` to run `hub` commands.
More info →Subcommands (8)
Create a branch or show current branch. See also: `git branch`.
Open a GitHub repository in the browser or print the URL.
Clone an existing repository.
Create a new repository on GitHub.
Delete an existing repository on GitHub.
Fork a GitHub repo. Like `git fork` from `git-extras`.
Initialize a new local Git repository.
Manage Github issues.
Examples (7)
Clone a repository using its slug (owners can omit the username)
hub clone username/repo_nameCreate a fork of the current repository (cloned from another user) under your GitHub profile
Push the current local branch to GitHub and create a PR for it in the original repository
Create a PR of the current (already pushed) branch, reusing the message from the first commit
hub pull-request --no-editUpload the current (local-only) repository to your GitHub account