Git-Scope User Guide
Source: Dev.to
Introduction
Git‑Scope is a terminal dashboard for your local Git repositories.
Stop cd‑ing into folders to check status. Scan your projects and see a real‑time dashboard of your entire workload.
Installation
brew tap Bharath-code/tap
brew install git-scope
or, using Go:
go install github.com/Bharath-code/git-scope/cmd/git-scope@latest
Commands
| Command | Description |
|---|---|
git-scope | Launch dashboard (default) |
git-scope scan | Print repositories as JSON |
git-scope scan-all | Scan the entire system from the home directory |
git-scope init | Create a config file |
git-scope -h | Show help |
Flags
-config: path to config file (default:~/.config/git-scope/config.yml)
Dashboard Overview
When you run git-scope, each repository entry shows:
- Status:
●Dirty (uncommitted/unpushed) or✓Clean - Repository: Project folder name
- Branch: Active branch (e.g.,
main) - Staged: Files ready to commit
- Modified: Changed files
- Untracked: New files
- Last Commit: Time since the last commit
Git‑Scope is keyboard‑first.
Keybindings
| Key | Action |
|---|---|
k / ↑ | Move up |
j / ↓ | Move down |
q | Quit |
/ | Search (fuzzy match; e.g., gscope finds git-scope) |
Enter | Confirm selection |
Esc | Cancel search |
f | Toggle Dirty Filter – shows only repos with uncommitted or unpushed changes |
s | Cycle sort order: Dirty First (default) → Name → Last Modified |
r | Rescan the file system |
c | Clear search |
Actions
| Key | Action |
|---|---|
Enter | Open the repository in $EDITOR |
r | Rescan the file system |
c | Clear the current search |
Usage Tips
- Git‑Scope searches for Git repositories recursively in the current directory.
- Run it from
~/projects(or a similar top‑level folder) for best results. node_modulesdirectories are ignored automatically.- Results are cached for speed (typically <10 ms). Press
rto refresh the cache if needed. - Check the Sync column for
↓(behind origin). - Press
fto view only dirty repositories, thenEnterto open and fix them.
Getting Started
- Star the project on GitHub.
- Visit the official website for more information.