1hub-fork(1) hub manual hub-fork(1)
2
3
4
6 hub-fork - Fork the current repository on GitHub and add a git remote
7 for it.
8
10 hub fork [--no-remote] [--remote-name REMOTE] [--org ORGANIZATION]
11
13 --no-remote
14 Skip adding a git remote for the fork.
15
16 --remote-name REMOTE
17 Set the name for the new git remote.
18
19 --org ORGANIZATION
20 Fork the repository within this organization.
21
23 $ hub fork
24 [ repo forked on GitHub ]
25 > git remote add -f USER git@github.com:USER/REPO.git
26
27 $ hub fork --org=ORGANIZATION
28 [ repo forked on GitHub into the ORGANIZATION organization]
29 > git remote add -f ORGANIZATION git@github.com:ORGANIZATION/REPO.git
30
32 hub-clone(1), hub(1)
33
34
35
36
37hub version 2.14.2 22 Jul 2021 hub-fork(1)