Github Branch Scanner - A powerful web-based tool to scan and manage default branches across GitHub repositories.
- Single repository scan
- Bulk repository scan (all repos from user/organization)
- View all branches with default branch highlighting
- Change default branch individually or in bulk
- Real-time progress tracking
- Token and anonymous authentication support
- Open
n1709.github.io/GBSin your browser - Choose authentication mode (token recommended for full features)
- Select scan mode (single repo or all repos)
- Enter repository or username
- Click "Start Investigation"
- Complete a scan with token authentication
- Enter target branch name
- Click "Change All Defaults"
- Monitor progress
- Go to GitHub Settings > Developer settings > Personal access tokens
- Generate new token with
reposcope - Copy and paste in the tool
- Modern web browser
- GitHub token (optional for public repos, required for private and bulk changes)
- Internet connection
- Anonymous: 60 requests/hour
- With token: 5000 requests/hour
- Bulk change requires admin access to repositories
- Target branch must exist before changing
Pure HTML/CSS/JavaScript with GitHub REST API v3
MIT - See LICENSE file for details