mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 19:59:05 +00:00
Update cheatsheets
This commit is contained in:
21
hub-fork
Normal file
21
hub-fork
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# hub fork
|
||||
|
||||
> Fork a GitHub repo. Like `git fork` from `git-extras`.
|
||||
> More information: <https://hub.github.com/hub-fork.1.html>.
|
||||
|
||||
- Fork a GitHub repository by its slug:
|
||||
|
||||
`hub fork {{tldr-pages/tldr}}`
|
||||
|
||||
- Fork a GitHub repository by its URL:
|
||||
|
||||
`hub fork {{https://github.com/tldr-pages/tldr}}`
|
||||
|
||||
- Fork current GitHub repository, set remote name to origin:
|
||||
|
||||
`hub fork --remote-name {{origin}}`
|
||||
Reference in New Issue
Block a user