An open API service indexing awesome lists of open source software.

https://github.com/jigsawye/swagit

No more typo when using git checkout
https://github.com/jigsawye/swagit

Last synced: 3 months ago
JSON representation

No more typo when using git checkout

Awesome Lists containing this project

README

        

![Swagit](https://i.imgur.com/kYSEMFD.png)

## Install

Since version 1.0.0, swagit has been rewritten in Rust, so you can install it directly via cargo.

```bash
cargo install swagit
```

### npm(legacy)

The npm version wraps the binary with JavaScript, so it will be slower than the crates version.

```bash
npm install -g swagit
pnpm add -g swagit
yarn global add swagit
```

## Usage

Once that's done, you can run this command inside your project's directory:

```bash
swagit
```

You can set an alias to use a more convenient command:

```bash
alias sg="swagit"
```

### Options

#### `--delete` or `-d`

Enter an interactive mode to select branches to be deleted.

#### `--sync` or `-s` (alpha test)

Sync all branches and delete merged branches.

## License

MIT © [Evan Ye](https://github.com/jigsawye)