All Projects → craciuncezar → git-smart-checkout

craciuncezar / git-smart-checkout

Licence: MIT license
🧠 A command-line utility for switching git branches more easily. Switch branches interactively or use a fuzzy search to find that long-forgotten branch name.

Programming Languages

rust
11053 projects
shell
77523 projects

Projects that are alternatives of or similar to git-smart-checkout

Leaderf
An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
Stars: ✭ 1,733 (+3298.04%)
Mutual labels:  fuzzy-search
Kube Fzf
Shell commands using kubectl and fzf for command-line fuzzy searching of Kubernetes Pods.
Stars: ✭ 153 (+200%)
Mutual labels:  fuzzy-search
Tntsearch
A fully featured full text search engine written in PHP
Stars: ✭ 2,693 (+5180.39%)
Mutual labels:  fuzzy-search
Vim Ctrlspace
Vim Space Controller
Stars: ✭ 1,621 (+3078.43%)
Mutual labels:  fuzzy-search
Chrome Ff
Fuzzy Finder for Chrome/Chromium tabs and windows
Stars: ✭ 142 (+178.43%)
Mutual labels:  fuzzy-search
Fuzzysearch
Find parts of long text or data, allowing for some changes/typos.
Stars: ✭ 157 (+207.84%)
Mutual labels:  fuzzy-search
Iterfzf
Pythonic interface to fzf, a CLI fuzzy finder
Stars: ✭ 106 (+107.84%)
Mutual labels:  fuzzy-search
Fuzzball.js
Easy to use and powerful fuzzy string matching, port of fuzzywuzzy.
Stars: ✭ 225 (+341.18%)
Mutual labels:  fuzzy-search
Nvim Lsputils
Better defaults for nvim-lsp actions
Stars: ✭ 142 (+178.43%)
Mutual labels:  fuzzy-search
Fuse
🔍 Fuzzy search for PHP based on the Bitap algorithm
Stars: ✭ 189 (+270.59%)
Mutual labels:  fuzzy-search
List.js
The perfect library for adding search, sort, filters and flexibility to tables, lists and various HTML elements. Built to be invisible and work on existing HTML.
Stars: ✭ 10,650 (+20782.35%)
Mutual labels:  fuzzy-search
Symspell
SymSpell: 1 million times faster spelling correction & fuzzy search through Symmetric Delete spelling correction algorithm
Stars: ✭ 1,976 (+3774.51%)
Mutual labels:  fuzzy-search
Enhancd
🚀 A next-generation cd command with your interactive filter
Stars: ✭ 2,049 (+3917.65%)
Mutual labels:  fuzzy-search
Elassandra
Elassandra = Elasticsearch + Apache Cassandra
Stars: ✭ 1,610 (+3056.86%)
Mutual labels:  fuzzy-search
Alfred Workflow
Full-featured library for writing Alfred 3 & 4 workflows
Stars: ✭ 2,622 (+5041.18%)
Mutual labels:  fuzzy-search
Incsearch Fuzzy.vim
Stars: ✭ 116 (+127.45%)
Mutual labels:  fuzzy-search
Fuzzyfilepath
Autocomplete relative or absolute file paths in Sublime Text project folder
Stars: ✭ 153 (+200%)
Mutual labels:  fuzzy-search
levenshtein.c
Levenshtein algorithm in C
Stars: ✭ 77 (+50.98%)
Mutual labels:  fuzzy-search
Scoper
Fuzzy and semantic search for captioned YouTube videos.
Stars: ✭ 225 (+341.18%)
Mutual labels:  fuzzy-search
Fzy
🔍 A simple, fast fuzzy finder for the terminal
Stars: ✭ 2,295 (+4400%)
Mutual labels:  fuzzy-search

git-smart-checkout

A git command extension for switching git branches more efficiently.

brain

Crates.io License

Demo

About

Interactively switch branches or fuzzy search for that forgotten branch name.

All powered by the speed ⚡️ of rust 🦀.

Installation

If you have Rust installed (using the recommended rustup installation method) then you can install the binary from the crate using cargo:

cargo install git-smart-checkout

For Homebrew users, you can install the binary using the following command:

brew tap craciuncezar/tap
brew install git-smart-checkout

You can also install the binary directly from GitHub Releases

curl -sSL https://github.com/craciuncezar/git-smart-checkout/releases/download/v0.1.0/git-smart-checkout -o /usr/local/bin/git-smart-checkout && chmod +x /usr/local/bin/git-smart-checkout

Usage

Start by running:

git smart-checkout

Once the interactive window is visible you can navigate with keyboard arrows or and select the git branch you are looking for by pressing Enter. If you know the name of the branch you can start typing to search for that particular branch, the search is using a fuzzy algorithm so you don't need to match the exact name of the branch it will also match partial terms.

Git alias

To save typing time you can use a regular git alias for git smart-checkout. The following command will add the alias git sc to your git config, however feel free to use whatever works best for you:

git config --global alias.sc smart-checkout
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].