.\" generated with Ronn-NG/v0.8.0 .\" http://github.com/apjanke/ronn-ng/tree/0.8.0 .TH "HUB\-FORK" "1" "March 2019" "GITHUB" "Hub Manual" .SH "NAME" \fBhub\-fork\fR \- Fork the current project on GitHub and add a git remote for it\. .SH "SYNOPSIS" \fBhub fork\fR [\-\-no\-remote] [\-\-remote\-name=\fIREMOTE\fR] [\-\-org=\fIORGANIZATION\fR] .SH "OPTIONS" .TP \-\-no\-remote Skip adding a git remote for the fork\. .TP \-\-remote\-name=\fIREMOTE\fR Set the name for the new git remote\. .TP \-\-org=\fIORGANIZATION\fR Fork the repository within this organization\. .SH "EXAMPLES" .nf $ 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 .fi .SH "SEE ALSO" hub\-clone(1), hub(1)