Switch between recent local git branches easily using git checkout-recent
:
Command line:
git checkout-recent
Controls:
- Navigate between branches: Up / Down
- Select branch: Enter
- Exit: Esc
Cargo is required. Set it up and then run:
cargo install git-checkout-recent
This will install the git-checkout-recent
binary to the ~/.cargo/bin/
directory by default.