Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 695 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 695 Bytes

Branch Tools

Usage:

Default

Run

npx branch-tools

from inside a git folder.

You will then be presented with a prompt to take you through what you want to do.

If you want to speed up the command, you can install branch-tools directly:

npm i branch-tools --save-dev
npx branch-tools

Clean

Cleans unneeded local branches

Run

npx branch-tools clean

from inside a git folder.

Sync

Syncs sub repos of a repository

Run

npx branch-tools sync

from inside a folder that contains git folders.

Testing

To test this locally, clone this repo, and then run

node <path_to_package>/dist/src/bin/branch-tools.js