6 stable releases

1.1.0 Aug 14, 2025
1.0.4 Nov 11, 2024
1.0.1 Nov 10, 2024

#1224 in Command line utilities

Download history 2/week @ 2025-09-25 4/week @ 2025-10-02

230 downloads per month

MIT license

27KB
400 lines

Swagit

Install

Swagit is written in Rust and distributed via crates.io.

cargo install 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

Sync with remote and clean up merged branches. This command:

  • Syncs current branch with remote (fast-forward only)
  • Updates remote references
  • Deletes merged branches automatically

License

MIT © Evan Ye

Dependencies

~5–16MB
~152K SLoC