
hub
List of commands for hub:
-
hub:tldr:28c59 hub: Push the current local branch to GitHub and create a PR for it in the original repository.$ hub push ${remote_name} && hub pull-requesttry on your machineexplain this command
-
hub:tldr:2cb2c hub: Create a new branch with the contents of a pull request and switch to it.$ hub pr checkout ${pr_number}try on your machineexplain this command
-
hub:tldr:45d41 hub: Create a fork of the current repository (cloned from another user) under your GitHub profile.$ hub forktry on your machineexplain this command
-
hub:tldr:500a2 hub: Clone a repository using its slug (owners can omit the username).$ hub clone ${username}/${repo_name}try on your machineexplain this command
-
hub:tldr:9c00f hub: Create a PR of the current (already pushed) branch, reusing the message from the first commit.$ hub pull-request --no-edittry on your machineexplain this command
-
hub:tldr:ec616 hub: Fetch Git objects from upstream and update local branches.$ hub synctry on your machineexplain this command
-
hub:tldr:f3961 hub: Upload the current (local-only) repository to your GitHub account.$ hub createtry on your machineexplain this command