JDBC Driver for GitHub

Build 24.0.9060

CloneTemplateRepository

Create a new repository with the same files and directory structure as a template repository.

Input

Name Type Description
RepositoryId String The Node ID of the template repository.
OwnerId String The ID of the owner for the new repository.
Name String The name of the new repository.
Description String A short description of the new repository.
Visibility String Indicates the repository's visibility level.

The allowed values are PRIVATE, PUBLIC, INTERNAL.

IncludeAllBranches Boolean Whether to copy all branches from the template to the new repository. Defaults to copying only the default branch of the template.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
RepositoryId String The ID of the new repository.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060