clear-branches
Advanced tools
Comparing version
{ | ||
"name": "clear-branches", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "easy way to clear your local branches", | ||
@@ -5,0 +5,0 @@ "main": "dist/clear-branches.js", |
@@ -28,3 +28,3 @@ # clear-branches | ||
```shell | ||
$ npx clear-branches | ||
$ npx clear-branches@latest | ||
``` | ||
@@ -46,14 +46,2 @@ | ||
If you're using nvm to manage node versions, pay attention to the node version you're using to create the alias in your bash profile: | ||
```shell | ||
alias clear-branches="node ~/.nvm/versions/node/v19.3.0/lib/node_modules/clear-branches" | ||
``` | ||
Creating a dynamic alias that will execute from the current node version forces the user to be in the same version that **clear-branches** was installed. | ||
```shell | ||
alias clear-branches="node $(npm root --global)/clear-branches" | ||
``` | ||
**output** | ||
@@ -96,2 +84,4 @@ | ||
_\*The current branch is ignored and is not possible to force delete it_ | ||
Using `clear-branches --force=<branch>[,<branch>],` you will be able not to ignore any of these branches. | ||
@@ -124,3 +114,3 @@ | ||
### clear-branches --ignore-pattern=<pattern> | ||
### clear-branches --ignore-pattern=\<pattern> | ||
@@ -127,0 +117,0 @@ It ignores all branches that match a regex. |
110906
-0.35%178
-5.32%