Crates.io | swagit |
lib.rs | swagit |
version | 1.0.1 |
source | src |
created_at | 2024-11-10 09:19:46.59026 |
updated_at | 2024-11-10 11:16:11.68791 |
description | A swag tool to use git with interactive cli |
homepage | |
repository | https://github.com/jigsawye/swagit |
max_upload_size | |
id | 1442741 |
size | 77,430 |
Since version 1.0.0, swagit has been rewritten in Rust, so you can install it directly via cargo.
cargo install swagit
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
Once that's done, you can run this command inside your project's directory:
swagit
# shortcut
sg
--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.
MIT © Evan Ye