Skip to content

git_clone

  GIT_CLONE - clone a git repository onto the local computer

  B = GIT_CLONE(REPOSITORY, LOCALPARENTDIR)

  Clones a git repository REPOSITORY into the local directory
  LOCALPARENTDIR.

  If a folder containing the local repository already exists,
  an error is returned.

  B is 1 if the operation is successful.