Skip to content

afeiship/git-sweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-sweep

Git branch sweep cli.

version license size download

snapshot

installation

npm install -g @jswork/git-sweep

usage

Usage: git-sweep [options]

Options:
  -V, --version          output the version number
  -d, --debug            only show cmds, but not clean.
  -l, --local            clean scope to local(default).
  -r, --remote           clean scope to remote.
  -f, --filter <string>  clean by filter.(eg: -f feature/aric)
  -i, --interactive      interactive operation cli.
  -p, --pushed <list>    add protected to default.(eg: -p uat,test1).
  -k, --clean-gh         clean github tags+release.
  --rm-local-tags        clean local tags.
  --rm-remote-tags       clean remote tags.
  --rm-github-release    clean github release.
  -c, --created <list>   use new list replace default(dangerous).(eg: -c uat,test1).
  -h, --help             display help for command

license

Code released under the MIT license.