mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
hub: add sync example (#6108)
This commit is contained in:
parent
f7f16b8502
commit
8f9e3caf29
1 changed files with 5 additions and 5 deletions
|
@ -4,11 +4,7 @@
|
|||
> If set up as instructed by `hub alias`, one can use `git` to run `hub` commands.
|
||||
> More information: <https://hub.github.com>.
|
||||
|
||||
- Clone a repository you own, using just the repository name rather than the full URL:
|
||||
|
||||
`hub clone {{repo_name}}`
|
||||
|
||||
- Clone another user's repository, using their GitHub username and the repository name:
|
||||
- Clone a repository using its slug (owners can omit the username):
|
||||
|
||||
`hub clone {{username}}/{{repo_name}}`
|
||||
|
||||
|
@ -31,3 +27,7 @@
|
|||
- Upload the current (local-only) repository to your GitHub account:
|
||||
|
||||
`hub create`
|
||||
|
||||
- Fetch Git objects from upstream and update local branches:
|
||||
|
||||
`hub sync`
|
||||
|
|
Loading…
Add table
Reference in a new issue