1.0.19 • Published 1 year ago

cleanup-branches v1.0.19

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

cleanup-branches

It automatically removes merged branches, locally and remotely. It prompts for each unmerged branch whether you want to remove it or not.

By default, it is assumed that the main branch that should be merged to is named main, not master. If this is not correct, use the --branch parameter (e.g. --branch=master).

The name and commit hash of deleted branches are printed to stdout and logged to the log file at .local/state/cleanup-branches/log.txt

Usage: cleanup-branches [options]

Options:
  -h               Show this help message and exit
  -r               Also remove remote branches
  -u               Also remove unmerged branches, interactively
  --age=<age>      Minimum age to remove unmerged branches, e.g. "5 days" or "1 month". Defaults to "2 weeks".
  -n               Dry-run, do nothing, just print what would be done
  -d               Verbose debug output, including git commands
  --base=<branch>  Use "branch" as the merge target to compare with, instead of "main"

Installation

npm install -g cleanup-branches
1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago