|
1 | | -# worktreebuddy |
| 1 | +# WorkTreeBuddy |
| 2 | + |
| 3 | +Streamline your Git worktree workflow with quick access from your macOS menu bar. |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | +## Overview |
| 10 | + |
| 11 | +WorkTreeBuddy is a lightweight macOS menu bar application that makes working with Git worktrees effortless. Access all your worktrees, check their status, and open them in your favorite development tools - all from a convenient menu bar icon. |
| 12 | + |
| 13 | +## ✨ Features |
| 14 | + |
| 15 | +- **🌳 Menu Bar Access** - Quick access to all worktrees via the tree icon in your menu bar |
| 16 | +- **📊 Status Indicators** - Visual indicators show worktree states at a glance: |
| 17 | + - 🟠 Orange dot: Uncommitted changes |
| 18 | + - 🔴 Red dot: Inaccessible worktree |
| 19 | + - No dot: Clean worktree |
| 20 | +- **🚀 Quick Actions** - Right-click any worktree for instant access: |
| 21 | + - Open in your IDE |
| 22 | + - Open in Git client |
| 23 | + - Open in Terminal |
| 24 | + - Delete worktree (with safety checks) |
| 25 | +- **🔄 Auto-Refresh** - Automatically updates when worktrees change |
| 26 | +- **⚙️ Customizable** - Configure your preferred IDE, Git client, and terminal applications |
| 27 | +- **🔐 Secure** - Sandboxed application with minimal permissions |
| 28 | +- **📦 Auto-Updates** - Built-in automatic updates via Sparkle framework |
| 29 | + |
| 30 | +## 📋 Requirements |
| 31 | + |
| 32 | +- macOS 15.0 (Sequoia) or later |
| 33 | +- Git installed and accessible from Terminal |
| 34 | + |
| 35 | +## 📥 Installation |
| 36 | + |
| 37 | +### Download |
| 38 | + |
| 39 | +1. Download the latest release from the [Releases](https://github.com/oreillymedia/worktreebuddy/releases/latest) page |
| 40 | +2. Open the downloaded DMG file |
| 41 | +3. Drag WorkTreeBuddy to your Applications folder |
| 42 | +4. Launch WorkTreeBuddy from Applications |
| 43 | +5. Look for the 🌳 tree icon in your menu bar |
| 44 | + |
| 45 | +### First Launch |
| 46 | + |
| 47 | +When you first launch WorkTreeBuddy: |
| 48 | + |
| 49 | +1. Click the tree icon in the menu bar |
| 50 | +2. You'll be prompted to select your Git repository |
| 51 | +3. The app will display all worktrees in that repository |
| 52 | +4. When opening a worktree for the first time, select your preferred applications |
| 53 | + |
| 54 | +## 🎯 Usage |
| 55 | + |
| 56 | +### Basic Operations |
| 57 | + |
| 58 | +- **View Worktrees**: Click the tree icon to see all worktrees |
| 59 | +- **Check Status**: Look for colored dots indicating worktree status |
| 60 | +- **Open Worktree**: Click a worktree name to see available actions |
| 61 | +- **Quick Switch**: Use keyboard shortcuts (coming soon) |
| 62 | + |
| 63 | +### Preferences |
| 64 | + |
| 65 | +Access preferences from the menu to: |
| 66 | +- Change your Git repository |
| 67 | +- Set default applications for opening worktrees |
| 68 | +- Configure update settings |
| 69 | + |
| 70 | +### Worktree Management |
| 71 | + |
| 72 | +WorkTreeBuddy helps you: |
| 73 | +- Quickly identify which worktrees have uncommitted changes |
| 74 | +- Access any worktree in your preferred development environment |
| 75 | +- Keep track of multiple feature branches simultaneously |
| 76 | +- Clean up unused worktrees safely |
| 77 | + |
| 78 | +## 🔄 Updates |
| 79 | + |
| 80 | +WorkTreeBuddy includes automatic update checking. When an update is available: |
| 81 | +- You'll see a notification in the menu |
| 82 | +- Click "Check for Updates..." to manually check |
| 83 | +- Updates are downloaded and installed automatically |
| 84 | + |
| 85 | +## 🐛 Troubleshooting |
| 86 | + |
| 87 | +### Tree icon not appearing |
| 88 | +- Check if WorkTreeBuddy is running in Activity Monitor |
| 89 | +- Try launching from Applications folder again |
| 90 | +- Restart your Mac if the issue persists |
| 91 | + |
| 92 | +### Repository not found |
| 93 | +- Ensure your repository contains a `.git` folder |
| 94 | +- Check that you have read permissions for the repository |
| 95 | +- Try selecting the repository folder again in Preferences |
| 96 | + |
| 97 | +### Worktrees not updating |
| 98 | +- Click the tree icon to manually refresh |
| 99 | +- Check if the repository path is still valid |
| 100 | +- Verify Git is working correctly in Terminal |
| 101 | + |
| 102 | +## 🤝 Support |
| 103 | + |
| 104 | +- **Issues**: Report bugs or request features on our [Issues page](https://github.com/oreillymedia/worktreebuddy/issues) |
| 105 | +- **Discussions**: Join the conversation in [Discussions](https://github.com/oreillymedia/worktreebuddy/discussions) |
| 106 | + |
| 107 | +## 📄 License |
| 108 | + |
| 109 | +WorkTreeBuddy is released under the MIT License. See [LICENSE](LICENSE) for details. |
| 110 | + |
| 111 | +## 🙏 Acknowledgments |
| 112 | + |
| 113 | +- Built with SwiftUI for macOS |
| 114 | +- Uses [Sparkle](https://sparkle-project.org/) for automatic updates |
| 115 | +- Icon designed with SF Symbols |
| 116 | + |
| 117 | +--- |
| 118 | + |
| 119 | +Made with ❤️ for developers who love Git worktrees |
0 commit comments