---
title: "createBranch"
canonical: "https://support.appfire.com/space/SCLI/73367658/createBranch"
format: markdown
---
See also: [Actions](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368507)

> Macro (details)
> 
> | **Description** | Create repository branch starting at the specified commit id. |
> | --- | --- |
> | **Required Parameters** | [project](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368805), [repository](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368867), [branch](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370663), [id](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370775) |
> | **Optional Parameters** | [message](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371397) |
> | **Type** | [Create](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370540/Action+Types#ActionTypes-Create) |
> | **Category** | [Branches](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371318/Action+Categories#ActionCategories-Branches) |
> | **Output Formats** |  |
> | **Replacement Variables** | branch, branchId |
> | **Hosting** | server,datacenter |
> | **Since Version** | 10.5 |
> | **Examples** | [createBranch](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371753/Examples#Examples-createBranch) |

## Related How To's

> Macro (cql-query)