diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-24 01:21:35 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-24 01:21:35 +0300 |
| commit | bfc52a37f0650e0d8cf727f5998882a3bcebbe0c (patch) | |
| tree | 1e6d807f6aab2b491f0a4b1c705416b8242e87dd /internal/github/github.go | |
| parent | 8b007ab16b272a718f1cd04afcd5f4fab02714ce (diff) | |
feat: add abandoned branch detection and reporting
Automatically detects and reports abandoned branches during sync operations:
- Branches are considered abandoned if they have no commits for 6+ months
- Only reports on active repositories (main/master updated within last year)
- Shows individual reports during sync of each repository
- Displays comprehensive summary after sync-all operations
- Provides helpful cleanup commands for removing old branches
This helps maintain cleaner repositories by identifying stale branches
that may no longer be needed.
Example output:
🔍 Abandoned branches in dtail:
Main branch last updated: 2025-04-17
Found 1 abandoned branches (no commits for 6+ months):
- develop (last commit: 2023-10-05, No commits for 628 days)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/github/github.go')
0 files changed, 0 insertions, 0 deletions
