-
Go to your repository on GitHub:
- Navigate to: https://github.com/ameyakhot/llm-council
-
Click on "Settings" (top navigation bar, right side)
-
In the left sidebar, click on "Branches"
-
Under "Default branch" section:
- You'll see the current default branch (likely
master) - Click the switch/change icon next to it
- Select
devfrom the dropdown - Click "Update"
- Confirm the change if prompted
- You'll see the current default branch (likely
-
GitHub will warn you that you're changing the default branch
- This is safe since
devalready exists and has your commits - Click "I understand, update the default branch"
- This is safe since
- Vercel Deployment: If Vercel is configured to deploy from the default branch, it will now deploy from
devinstead ofmaster - GitHub Contribution Graph: Commits to
devwill now show up on your contribution graph since it's the default branch - Pull Requests: New pull requests will default to targeting
devinstead ofmaster
If you have GitHub CLI (gh) installed, you can also do:
gh api repos/ameyakhot/llm-council -X PATCH -f default_branch=devSince you mentioned Vercel is attached to main, you may want to:
- Update Vercel project settings to deploy from
devbranch instead - Or keep
master/mainas default for production deployments and usedevfor preview deployments