# github delete-ref

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

## Description

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

## Syntax

`ern github delete-ref`

**Options**

`--branch <name>`

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

`--tag <name>`

* Name of the tag to delete.
* **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 repositories to delete the branch/tag from.
* **Default** Interactive prompt to select a descriptor.

`--jsApiImplsOnly`

* Only delete branch/tag in JS API Implementations repositories.
* **Default** Delete branch/tag in MiniApps and JS API Implementations repositories.

`--miniAppsOnly`

* Only delete branch/tag in MiniApps repositories.
* **Default** Delete branch/tag in MiniApps and JS API Implementations repositories.

\[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.33/cli-commands/github/delete-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.
