Git Commit Branch FinderA powerful VS Code extension that instantly reveals which branch a commit belongs to. No more digging through git history! Features✨ Search by Commit Hash — Enter a commit SHA (full or partial) and instantly see all branches containing it 🔍 Search by Commit Message — Can't remember the hash? Search by commit message instead 📋 Clipboard Integration — Paste directly from clipboard with a single keyboard shortcut 🎯 Branch Organization — See local and remote branches clearly separated ⚡ Quick Copy — Copy branch names to clipboard with a single click 🌳 Multi-Branch Detection — Understand when commits exist on multiple branches (e.g., after merges) Installation
UsageMethod 1: Keyboard Shortcut (Fastest)
Method 2: Command Palette
Method 3: From Selection
Method 4: Status Bar
ExamplesExample 1: Search by Full Hash
Example 2: Search by Short Hash
Example 3: Search by Message
Output PanelWhen you search, the results appear in a beautiful side panel showing:
Each branch is clickable to copy to clipboard. Keyboard Shortcuts
Requirements
Common Issues"No workspace folder is open"Solution: Open a folder containing your git repository "git: command not found"Solution: Install git or ensure it's in your system PATH Commit not foundReasons:
Try:
PerformanceThe extension uses native git commands and caches results, making searches extremely fast even in large repositories. PrivacyAll processing happens locally on your machine. No data is sent anywhere. LicenseMIT Feedback & ContributionsFound a bug? Have a feature idea? Let me know! Made with ❤️ for developers who love git 🚀 |