1hub-fork(1)                       hub manual                       hub-fork(1)
2
3
4

NAME

6       hub-fork - Fork the current repository on GitHub and add a git remote
7       for it.
8

SYNOPSIS

10       hub fork [--no-remote] [--remote-name REMOTE] [--org ORGANIZATION]
11

OPTIONS

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

EXAMPLES

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

SEE ALSO

32       hub-clone(1), hub(1)
33
34
35
36
37hub version 2.12.8                03 Oct 2019                      hub-fork(1)
Impressum