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

gh-repo-clone - Clone a repository locally

Description

       Clone a GitHub repository locally. Pass additional gitclone flags by listing them after --.

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

       If the repository is a fork, its parent repository will be added  as  an  additional  git  remote  called
       upstream.  The  remote  name  can be configured using --upstream-remote-name.  The --upstream-remote-name
       option supports an @owner value which will name the remote after the owner of the parent repository.

       If the repository is a fork, its parent repository will be set as the default remote repository.

Name

       gh-repo-clone - Clone a repository locally

Options

-u, --upstream-remote-name<string>(default"upstream")
              Upstream remote name when cloning a fork

See Also

gh-repo(1)

                                                    Jan 2025                                    GH-REPO-CLONE(1)

Synopsis

ghrepoclone<repository>[<directory>][--<gitflags>...]

See Also