CLI tool used to rename the default branch across all a users repos
You will need a GITHUB_TOKEN
environment variable, you can either specify it in a .env
. It will need repo
scope access.
- Clone the repo
- run
yarn
- run `yarn start``
- Follow the prompts (Use the arrows to navigate and space to select) Note: it will only allow you to choose repos that the default branch does not match your preferred branch name
- Finally, confirm the request by pressing
y