2016-02-14 14:49:56 +00:00
|
|
|
# hub
|
|
|
|
|
|
|
|
> A command-line wrapper for git that makes you better at GitHub.
|
|
|
|
> The commands can also be used using "git" instead of "hub".
|
|
|
|
|
|
|
|
- Clone a repository you own:
|
|
|
|
|
2016-02-15 22:12:54 +00:00
|
|
|
`hub clone {{repo_name}}`
|
2016-02-14 14:49:56 +00:00
|
|
|
|
|
|
|
- Clone another user repository:
|
|
|
|
|
2016-02-15 22:12:54 +00:00
|
|
|
`hub clone {{github_username}}/{{repo_name}}`
|
2016-02-14 14:49:56 +00:00
|
|
|
|
2016-09-09 17:18:38 +01:00
|
|
|
- Fork repository cloned from another user (creates a remote named after your GitHub username):
|
|
|
|
|
|
|
|
`hub fork`
|
|
|
|
|
|
|
|
- Create a pull request from your fork:
|
|
|
|
|
|
|
|
`git push {{github_username}} && hub pull-request`
|
|
|
|
|
2016-02-14 14:49:56 +00:00
|
|
|
- Open the current project's issues page:
|
|
|
|
|
|
|
|
`hub browse -- issues`
|