gh-repo-clone - Man Page

Clone a repository locally

Synopsis

gh repo clone <repository> [<directory>] [-- <gitflags>...]

Description

Clone a GitHub repository locally.

If the "OWNER/" portion of the "OWNER/REPO" repository argument is omitted, it defaults to the name of the authenticating user.

Pass additional 'git clone' flags by listing them after '--'.

See Also

gh-repo(1)

Referenced By

gh-repo(1).

Jan 2022 GitHub CLI manual