module
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: May 3, 2025
License: MIT
Opens a new window with license information.
README
¶
git swift
Lightning-fast branch switching with fuzzy search
A minimal CLI tool that lets you quickly find and switch between Git branches using a clean, interactive interface.
Features
- ⚡ Fast branch switching - Find branches faster than you can type their full name
- ⌨️ Keyboard-driven - Navigate without reaching for the mouse
- 🔢 Numbered selections - Easy visual reference
- 🔖 Uses native
git switch under the hood, supports all its parameters
Installation
Using npm
npm install -g git-swift
From source
go install github.com/ddddami/git-swift@latest
Usage
Interactive mode
Simply run:
git swift
This opens an interactive UI where you can:
- Type to filter branches
- Use ↑/↓ arrows to navigate
- Press Enter to switch to the selected branch
- Press Esc to quit
Direct mode
If you know part of the branch name:
git swift branch-name
This will switch directly to the branch if an exact match is found.
Why git swift?
- Minimal UI - Just the information you need, nothing more
- Lightweight - Fast startup time, small memory footprint
- Zero configuration - Works out of the box
License
MIT
Directories
¶
cmd
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.