git2cpp clone

git2cpp clone#

Clone a directory into a new repository


git2cpp clone [OPTIONS] <repository> [<directory>]


POSITIONALS:
  <repository> TEXT REQUIRED  The (possibly remote) repository to clone from.
  <directory> TEXT            The name of a new directory to clone into.

OPTIONS:
  -h,     --help              Print this help message and exit
          --depth UINT        Create a shallow clone of that depth.
          --bare              Create a bare Git repository.