## zowe › endevor-bridge-for-git › branch › delete

Remove a branch from an existing mapping

#### Usage

zowe endevor-bridge-for-git branch delete <context> <mapping> [branch] [options]

#### Positional Arguments

- `context` (string)

  - Git-Endevor mapping context (ID of the organization, project, team or owner of the Git repository).

- `mapping` (string)

  - Git-Endevor mapping name (ID of the Git repository).

- `branch` (string)

  - Name of the synchronized branch in the Git repository.

#### Endevor Bridge for Git connection options (alternatively use an 'ebg' profile)

- `--protocol` | `--prot` (string)

  - The Endevor Bridge for Git SCM protocol.

    Default value: https

    Default value: https
    Allowed values: http, https

- `--host` | `-H` (string)

  - The Endevor Bridge for Git hostname.

- `--port` | `-P` (number)

  - The Endevor Bridge for Git port.

- `--user` | `-u` (string)

  - Endevor Bridge for Git username (your git username).

- `--token` | `-t` (string)

  - Git personal access token (it can be obtained from your Git Enterprise Server).

- `--reject-unauthorized` | `--ru` (boolean)

  - Reject self-signed certificates.

    Default value: false

#### Profile Options

- `--ebg-profile` | `--ebg-p` (string)

  - The name of a (ebg) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--password` | `--pass` | `--pw` (string)

  - Password to authenticate to service on the mainframe.

- `--token-type` | `--tt` (string)

  - The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.

- `--token-value` | `--tv` (string)

  - The value of the token to pass to the API.

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Examples

- Remove a branch from my Git-Endevor mapping 'MY-CONTEXT / MY-MAPPING' using the default EBG profile:

  - `zowe endevor-bridge-for-git branch delete MY-CONTEXT MY-MAPPING MY-BRANCH`