Issues, pull requests, and GitHub Releases in the format of your choice. Scripting is much easier now that you can list or create # open a pull request for the branch you've just pushed hub pull-request → (opens a text editor for your pull request message) Automating tasks for fun and profit # check the CI status for this branch hub ci-status -verbose → (forking repo on GitHub.) → git remote add origin # push the changes to your new remote git push origin feature # It's time to fork the repo! hub fork -remote-name origin
# create a topic branch git checkout -b feature It easier to fork repositories, check the CI status of aīranch, and even submit pull requests from the same environment Whether you are beginner or an experienced contributor to open-source, hub makes Lowering the barrier to contributing to open-source Hub create → (creates a new GitHub repository with the name of the current directory) git push -u origin HEAD # create a repo to host a new project on GitHub git init Starting a new project has never been easier: → (the URL of the new private gist copied to clipboard) → open # share log output via Gist hub gist create -copy build.log → open # open another project's wiki hub browse rbenv/ruby-build wiki # open the current project's issues page hub browse - issues Hub sync # list latest open issues in the current repository hub issue -limit 10 → git clone git:///github/hub.git # fast-forward all local branches to match the latest state on the remote cd myproject
→ git clone git:///YOUR_USER/dotfiles.git # clone another project hub clone github/hub # clone your own project hub clone dotfiles
To date, and share logs or code snippets via Gist. Pages, list known issues, ensure your local branches stay up Hub makes it easy to clone or create repositories, browse project Hub version 2.14.2 # ← it works! # indicate that you prefer HTTPS to SSH git clone URLs git config -global hub.protocol https # install with Homebrew (macOS, Linux) # or see other installation options brew install hub Helps you do everyday GitHub tasks without ever leaving the terminal. Hub is an extension to command-line git that