# github create-ref

\[github commands prerequisites] must be met in order to execute this command.

## Description

* Creates a new remote branch or tag in all MiniApps and/or JS API Implementations GitHub repositories.

## Syntax

`ern github create-ref`

**Options**

`--branch <name>`

* Name of the new branch to create.
* **Default** Interactive prompt to input a branch name.

`--tag <name>`

* Name of the new tag to create.
* **Default** Interactive prompt to input a tag name.

`--descriptor <descriptor>`

* A full native application descriptor (native application version) from which to look for the MiniApps/JS API Implementations to branch/tag.
* **Default** Interactive prompt to select a descriptor.

`--fromBranch`

* Creates the new branch/tag from the branches of the MiniApps/JS API Implementations listed in the target descriptor.
* **Default** Interactive prompt to select `--fromBranch/--fromTagOrSha` option to be used.

`--fromTagOrSha`

* Creates the new branch/tag from the current tags or SHAs of the MiniApps/JS API Implementations listed in the target descriptor.
* **Default** Interactive prompt to select `--fromBranch/--fromTagOrSha` option to be used.

`--jsApiImplsOnly`

* Only create new branch/tag for JS API Implementations.
* **Default** Creates branch/tag for MiniApps and JS API Implementations.

`--miniAppsOnly`

* Only create new branch/tag for MiniApps.
* **Default** Creates branch/tag for MiniApps and JS API Implementations.

\[github commands prerequisites]: ../github.md


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://native.electrode.io/v0.32/cli-commands/github/create-ref.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
