Safely copy GitHub labels between repositories. Review everything before making changes - you're always in control.
Clone and build with Go:
git clone https://github.com/robert-claypool/gabel.git
cd gabel
go build -o gabel
mv gabel /usr/local/bin/
gabel -h # show help
gabel owner/source owner/dest
This opens an interactive picker showing all labels from both repos (source and destination). Use arrow keys to navigate, Space to toggle, Enter to confirm selections.
Current state → Desired state for myorg/myproject:
[✓] NeedsFix #aa0000 (dest only)
────────────────────────────────────────────────
[✓] bug #d73a4a
[✓] documentation #0075ca
[ ] duplicate #cfd3d7
[✓] enhancement #a2eeef
Space: toggle ↑/↓: navigate Enter: confirm q: quit
GitHub CLI is required. Gabel uses the GitHub CLI to interact with GitHub.
- Install GitHub CLI
- Run
gh auth login
to authenticate - Ensure you have permission to manage labels in the destination repository
-v, --verbose
- Show label descriptions-d, --debug
- Show debug logs-h, --help
- Show help
MIT