# foo

> An opinionated git cli for oss

Latest version **0.0.7** (published 2017-11-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install foo
pnpm add foo
yarn add foo
bun add foo
```

Provides the command `foo`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2017-11-01 |
| First published | 2011-10-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Jason Laster |
| Maintainers | bomsy, jasonlaster11 |

## Links

- npm: https://www.npmjs.com/package/foo
- Repository: https://github.com/jasonLaster/foo
- Homepage: https://github.com/jasonLaster/foo#readme
- Issues: https://github.com/jasonLaster/foo/issues
- npm.io page: https://npm.io/package/foo

## Dependencies (5)

- [jest](https://npm.io/package/jest.md) ^21.2.1
- [hankey](https://npm.io/package/hankey.md) ^0.0.3
- [shelljs](https://npm.io/package/shelljs.md) ^0.7.8
- [commander](https://npm.io/package/commander.md) ^2.11.0
- [node-pager](https://npm.io/package/node-pager.md) ^0.3.1

## Recent versions

- 0.0.7 (latest) — 2017-11-01
- 0.0.6 — 2017-11-01
- 0.0.5 — 2017-11-01
- 0.0.4 — 2017-11-01
- 0.0.3 — 2017-11-01
- 1.0.0 — 2011-10-21

## README

## Foo

An opinionated git cli for OSS.

### How to install

```js
npm install -g foo | yarn global add foo
```

### Checkout

Gets a remote branch. This will add a remote origin if it does not exist, fetches it and checkouts the specified PR branch.

```bash
foo checkout <id|url|branch>
foo co <id|url|branch>
```
- `branch` - The username and branch e.g `@[user]/[branch]` or `@[user]:[branch]`
- `id` - The pull request id e.g `4381` or `#4381` (in development)
- `url` - The pull request url e.g `https://github.com/devtools-html/debugger.html/pull/4381` (in development)


### Diff

Shows changes between commits, commit and working tree, etc

```bash
foo diff
```

### Log

Shows the commit logs.

```bash
foo log
```

### Push

Pushes your local branch to GH, regardless of remote.

```bash
foo push
```


## Todo
* **delete** delete local branches
* **remote** add a new remote
* **new** create a new branch
* **update** update a branch
* **squash** squash local commits

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