swagit

Crates.ioswagit
lib.rsswagit
version1.0.4
sourcesrc
created_at2024-11-10 09:19:46.59026
updated_at2024-11-11 14:48:20.804564
descriptionA swag tool to use git with interactive cli
homepage
repositoryhttps://github.com/jigsawye/swagit
max_upload_size
id1442741
size82,246
Evan Ye (jigsawye)

documentation

README

Swagit

Install

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

cargo install swagit

npm(legacy)

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

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:

swagit

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

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

Commit count: 123

cargo fmt