purgitory

    0.1.7 • Public • Published

    Purgitory

    Purge local branches that have been merged and deleted to the main branch in remote

    CircleCI npm NPM

    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

    Install

    npm i purgitory

    DownloadsWeekly Downloads

    8

    Version

    0.1.7

    License

    GPL-3.0-only

    Unpacked Size

    55.5 kB

    Total Files

    17

    Last publish

    Collaborators

    • sduduzog