mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 20:15:25 +02:00
Merge pull request #1046 from ericbn/hub
hub: Add fork and pull-request examples
This commit is contained in:
commit
d1e3c7b43e
1 changed files with 9 additions and 1 deletions
|
@ -7,10 +7,18 @@
|
|||
|
||||
`hub clone {{repo_name}}`
|
||||
|
||||
- Clone another user repository:
|
||||
- Clone another user's repository:
|
||||
|
||||
`hub clone {{github_username}}/{{repo_name}}`
|
||||
|
||||
- Fork your own copy of a repository cloned from another user (must be in the cloned repository folder, creates a remote named after your GitHub username):
|
||||
|
||||
`hub fork`
|
||||
|
||||
- Create a pull request from your fork (first pushing the changes to your fork remote, named after your GitHub username):
|
||||
|
||||
`git push {{your_github_username}} {{current_branch}} && hub pull-request`
|
||||
|
||||
- Open the current project's issues page:
|
||||
|
||||
`hub browse -- issues`
|
||||
|
|
Loading…
Add table
Reference in a new issue