reset_branch
Reset a branch to a specific commit. Select soft or hard mode, and force the reset when required.
Instructions
Сбросить ветку до указанного коммита.
Args:
project_uuid: UUID проекта.
schema_uuid: UUID схемы.
branch_name: Ветка (по умолчанию main).
target_commit_id: Числовой ID целевого коммита.
target_commit_uuid: UUID целевого коммита.
mode: Режим сброса: soft или hard.
force: Принудительный сброс.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | soft | |
| force | No | ||
| branch_name | No | main | |
| schema_uuid | Yes | ||
| project_uuid | Yes | ||
| target_commit_id | No | ||
| target_commit_uuid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |