ODBC Driver for GitHub

Build 24.0.9175

CloneTemplateRepository

Duplicates the files and structure of a template repository to create a new repository, streamlining the setup process for consistent project creation.

Input

Name Type Description
RepositoryId String The unique node ID of the template repository from which the new repository is cloned.
OwnerId String The unique ID of the user or organization that owns the newly created repository.
Name String The name for the new repository being created. It must be unique within the owner's account.
Description String A brief, user-defined summary or explanation about the purpose of the new repository.
Visibility String Defines the access level of the new repository: 'public', 'private', or 'internal' (internal is for organizations only).

使用できる値は次のとおりです。PRIVATE, PUBLIC, INTERNAL

IncludeAllBranches Boolean Specifies if all branches of the template repository should be cloned to the new repository. Defaults to 'false', which clones only the default branch.

Result Set Columns

Name Type Description
Success Boolean Indicates if the repository cloning process completed successfully. Returns a Boolean value.
Details String Provides additional information or context about the cloning operation, including error messages if applicable.
RepositoryId String The unique node ID assigned to the newly created repository.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175