# gusgit

> trello + git =

Latest version **1.1.4** (published 2020-08-05) · ISC license · 0 weekly downloads

## Install

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

Provides the command `gusgit`.

## 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.4 |
| Published | 2020-08-05 |
| First published | 2020-07-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 10.4 KB |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Hope410 |
| Maintainers | hope410 |
| Keywords | trello, git, cli |

## Links

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

## Dependencies (4)

- [cli](https://npm.io/package/cli.md) ^1.0.1
- [input](https://npm.io/package/input.md) ^1.0.1
- [trello](https://npm.io/package/trello.md) ^0.10.0
- [simple-git](https://npm.io/package/simple-git.md) ^2.14.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.1.4 (latest) — 2020-08-05
- 1.1.2 — 2020-07-30
- 1.1.1 — 2020-07-30
- 1.1.0 — 2020-07-30
- 1.0.0 — 2020-07-27

## README

# Gusgit: cli for linking Trello cards to git commits

### Read in [RU](/README.russian.md)

## Why gusgit?

During teamwork in Trello, sometimes there is a need to organize the names of commits and branches, as well as link them directly to the cards for Code Review.

Gusgit automates the above processes.

## Installation

    sudo npm i -g gusgit

## Usage

    gusgit branch <branch>

Creates a git branch named "T\<number>". \<branch> is either a Trello link or a branch name in the format "T\<number>".


    gusgit rebase [<from>]
    
Compiles a set of commits from the current branch into one. \<from> is the name of the branch to be linked from. By default \<from> = master.

    gusgit land [<to>]
    
Merges the current branch with the \<to> branch, deletes it, and adds the commit link to the Trello card to which the branch was attached. By default \<to> = master.

## Configuration

For the cli to work correctly in the project, there must be a config with the name **gusgit.config.json** inside it.

## Config format
    {
      "appkey": <Trello API key>,
      "token": <Trello user API token>,
      "boardId": <Trello board ID>,
      "repository": <Link to git repository>
    }

### * You can get the API key and Trello token by following the link: https://trello.com/app-key

### * The board ID is contained in the board link, which is usually displayed in the following format: https://trello.com/b/\<Board ID>/\<Project name>

    For example: https://trello.com/b/XtVBJIta/gusgit

### * Currently only links to github and bitbucket repositories are supported

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