Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 828 Bytes

HELP.md

File metadata and controls

64 lines (44 loc) · 828 Bytes

Options

default

$ clear-branches

* feat/current
  feat/bla
  fix/component

  Are you sure you want to delete these branches? [Y, n]

force

$ clear-branches -c, --force main,master

* feat/current
  feat/bla
  fix/component
  main
  master

  Are you sure you want to delete these branches? [Y, n]

ignore

$ clear-branches --ignore=feat/current

  feat/bla
  fix/component
  main
  master

  Are you sure you want to delete these branches? [Y, n]

ignore pattern

$ clear-branches --ignore-pattern=/feat\/\w+/g

  fix/component
  main
  master

  Are you sure you want to delete these branches? [Y, n]

interactive

$ clear-branches -i, --interactive

Select the branches you want to delete:

[ ] feat/current
[ ] feat/bla
[ ] fix/component