2 unstable releases
new 0.2.0 | Jan 9, 2025 |
---|---|
0.1.0 | Jan 5, 2025 |
#1031 in Development tools
124 downloads per month
19KB
480 lines
git-switch-branch
git-switch-branch
lets you quickly switch between git branches using a visual menu in your terminal
Installation
This cli can be installed using cargo
:
cargo install git-switch-branch
You can then run it directly using git-switch-branch
, or configure an alias:
git-switch-branch alias
Usage
To start the branch selection menu, just run:
git sw
Note: This assumes you've aliased git-switch-branch
to sw
To view only remote branches:
git sw remote
To view all branches:
git sw all
Uninstall
First, make sure to remove any existing aliases:
git-switch-branch remove-alias
or
git <your-alias> remove-alias
then, uninstall it using cargo:
cargo uninstall git-switch-branch
License
This project is licensed under the MIT License - see the dedicated LICENSE file for details.
Dependencies
~2–15MB
~147K SLoC