GitMend 🩹
GitMend brings smart Git insights into VS Code to help you make safer merge decisions and clean up stale branches with confidence.
Avoid surprises before merging and identify branches that are safe to delete — all without leaving your editor.
✨ Features
🔍 Safe Merge Check
- Compare two branches before merging
- Detect potential merge conflicts early
- Shows number of files affected when conflicts occur
- Helps you decide whether a branch can be merged safely

🧹 Stale Branch Report
- Generates a detailed HTML report for branch cleanup
- Compares a selected branch against all other branches
- Classifies branches based on merge status and age
Branch classification logic:
- ✅ Safe to Delete
- All commits merged into the selected branch
- Last commit older than 90 days
- ⚠️ Validate and Delete
- Some commits not merged
- Branch older than 90 days
- ❌ Keep
- Active or recently updated branches

🚀 How to Use
All GitMend features are available via the Command Palette.
Open Command Palette
Ctrl + Shift + P (Windows / Linux)
Cmd + Shift + P (macOS)
Type GitMend
Select the required command
🧾 Available Commands
GitMend: Check Merge
- Compares branches
- Alerts whether a merge is safe
- Displays conflict details and number of changed files
GitMend: Stale Branch Report
- Generates an interactive HTML report
- Helps identify branches eligible for deletion
- Ideal for repository maintenance
🛠 Requirements
- Git repository opened in VS Code
- VS Code version 1.107.0 or later
📌 Notes
- No data is sent externally — all analysis runs locally
- Designed to work with standard Git workflows
- Best used before merges or periodic branch cleanup
👤 Author
Dhinesh Palanisamy
🌟 Feedback & Contributions
Found a bug or have an idea?
Open an issue or contribute on GitHub:
👉 https://github.com/dhineshaps/gitmend
| |