# branch-cli

> A CLI tool that allows manipulation of local git repository

Latest version **1.1.0** (published 2015-08-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install branch-cli
pnpm add branch-cli
yarn add branch-cli
bun add branch-cli
```

Provides the command `branch`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2015-08-27 |
| First published | 2015-08-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Joey Sham |
| Maintainers | joeyism |
| Keywords | local, git, branch, status, current |

## Links

- npm: https://www.npmjs.com/package/branch-cli
- Repository: https://github.com/joeyism/node-branch-cli
- Homepage: https://github.com/joeyism/node-branch-cli#readme
- Issues: https://github.com/joeyism/node-branch-cli/issues
- npm.io page: https://npm.io/package/branch-cli

## Dependencies (5)

- [q](https://npm.io/package/q.md) ^1.4.1
- [xcept](https://npm.io/package/xcept.md) ^1.0.0
- [colors](https://npm.io/package/colors.md) ^1.1.2
- [git-lib](https://npm.io/package/git-lib.md) ^1.3.2
- [inquirer](https://npm.io/package/inquirer.md) ^0.9.0

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2015-08-27
- 1.0.2 — 2015-08-11
- 1.0.1 — 2015-08-11
- 1.0.0 — 2015-08-11

## README

# branch
A CLI tool that allows for manipulation of git branches

## Installation

    > npm install -g branch-cli

## Usage

### Status
In your command line prompt, if you type

    > branch

It will display the current branch status, including branch name, files that has been modified but added nor committed, and files that has been added but not committed.

### Delete
In your command line prompt, if you type

    > branch delete

A list of branches will display, excluding the one you are currently on. An example is as such:

    > ? Please select the branches you wish to delete:  (Press <space> to select)
      ❯◯ master
       ◯ develop
       ◯ branchNotBeingUsed

By pressing [Space], you can select or deselect branches. Then press [Enter] to delete branches.

## Versions
**1.1.0**
* Showing files that has been added and/or committed

**1.0.0**
* First working version

---
_Source: https://npm.io/package/branch-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
