Quick install (system-wide):
curl -fsSL https://gist.githubusercontent.com/11c9bc92e22505dfc2513e24791892d1/raw/gitls -o gitls && chmod +x gitls && sudo mv gitls /usr/local/bin/gitlsOr install to your user bin (no sudo required):
mkdir -p ~/bin
curl -fsSL https://gist.githubusercontent.com/11c9bc92e22505dfc2513e24791892d1/raw/gitls -o ~/bin/gitls && chmod +x ~/bin/gitlsThen make sure ~/bin is in your $PATH:
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc # or ~/.zshrc
source ~/.bashrc # or source ~/.zshrcgitls # searches current directory
gitls ~/projects # searches a specific directoryExample output:
api-service on main
frontend/dashboard on feature/dark-mode
infra/terraform on staging
3 repo(s) found
- Recursively walks directories using find
- Falls back gracefully — if on a detached HEAD, shows the tag or short SHA instead of crashing
- Accepts an optional path argument
- Color-coded output (repo path in cyan, branch in green)
- Summary count at the end
Because now LLM's let me work on a bunch of different things like a squirrel hopped up on caffeine -- with a memory to match!