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
- Host: GitHub
- URL: https://github.com/jigsawye/swagit
- Owner: jigsawye
- Created: 2018-06-16T11:59:16.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-11-11T15:07:21.000Z (7 months ago)
- Last Synced: 2025-03-11T11:49:16.408Z (3 months ago)
- Language: Rust
- Homepage: https://npmjs.com/swagit
- Size: 231 KB
- Stars: 21
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README

## 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)