logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Examples

           $ hub fork
           [ repo forked on GitHub ]
           > git remote add -f USER git@github.com:USER/REPO.git

           $ hub fork --org=ORGANIZATION
           [ repo forked on GitHub into the ORGANIZATION organization]
           > git remote add -f ORGANIZATION git@github.com:ORGANIZATION/REPO.git

Name

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

Options

       --no-remote
           Skip adding a git remote for the fork.

       --remote-name REMOTE
           Set the name for the new git remote.

       --org ORGANIZATION
           Fork the repository within this organization.

See Also

hub-clone(1), hub(1)

hub version 2.14.2                                 24 Aug 2023                                       hub-fork(1)

Synopsis

hubfork [--no-remote] [--remote-name REMOTE] [--org ORGANIZATION]

See Also