purgitory
v0.1.7
Published
Purge local branches that have been merged to the main branch in remote
Downloads
8
Maintainers
Readme
Purgitory
Purge local branches that have been merged and deleted to the main branch in remote
Status
Pretty stable. It does exactly what's on the cover,but there's lots of room for improvement
Usage
$ npx purgitory
or
$ npm -g i purgitory
$ purgit --help
Contribution
So far this is just code slapped together to make something work, it's far from perfect but there's great room for improvement, with the help from you.
To contribute, create an issue first, upon greenlight, you can submit a PR, this is to make sure that we don't work on the same thing at once, or you don't put all your hard work into something that contradicts plans I have for the project. Or you could pick out one of the TODO items as something you could tackle, I'd really appreciate it. Anyways to get started, fork the repo and clone locally then do:
$ npm install
$ npm link
$ npm run dev
npm run dev
is just typescript building the project on the fly as files changes and because npm link
doesn't always behaves, unit tests are your best friend when working on something.
TODO
- [x] Unit tests, even just one
- [ ] Selecting branches to exclude from the merge
- [ ] Make this be a button away, via gui
- [ ] Option to force delete remote merged branches, if not yet deleted