Delete Branch

apex branch delete <PKG_ALIAS> <BRANCH_NAME> [-m <MESSAGE>] [--file= <COMMIT_FILE>]
Deletes a branch from the repository.

Parameters

Parameter Description
pkg_alias The package alias from which to delete branch off.
branch_name The branch name to delete.

Flags

Flag Description
-m Optional commit message.
--file Optional location of file containing commit message.

Examples

  • ./apex branch delete my-shop some-cool-feature
  • ./apex branch delete myshop some-feature --file commit.txt