UNPKG

cberg

Version:

Node.js Client for the Codeberg API

26 lines (18 loc) 887 B
# CreateBranchRepoOption CreateBranchRepoOption options when creating a branch in a repository ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **new_branch_name** | **string** | Name of the branch to create | [default to undefined] **old_branch_name** | **string** | Deprecated: true Name of the old branch to create from | [optional] [default to undefined] **old_ref_name** | **string** | Name of the old branch/tag/commit to create from | [optional] [default to undefined] ## Example ```typescript import { CreateBranchRepoOption } from 'berg'; const instance: CreateBranchRepoOption = { new_branch_name, old_branch_name, old_ref_name, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)