hub Command Examples

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 information: https://hub.github.com.

hub clone {{username}}/{{repo_name}}

hub fork

hub push {{remote_name}} && hub pull-request

hub pull-request --no-edit

hub pr checkout {{pr_number}}

hub create

hub sync