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

> Macro (details)
> 
> | **Description** | Deprecated. Add 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** |  |
> | **Examples** | [addBranch](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371753/Examples#Examples-addBranch) |

## Related How To's

> Macro (cql-query)