github-rename-default-branch
v1.0.5
Published
Rename the default branch for all of your personal github repositories.
Downloads
3
Readme
GitHub: Rename Default Branch
"Rename" the default branch for all of your personal github repositories.
Usage
You'll need an OAuth token with the right scopes to utilize this utility. See "Creating a personal access token for the command line" for detailed instructions and ensure the repo
scope is granted.
GH_TOKEN=... npx github-rename-default-branch
The interactive prompt will ask you to specify the original default branch name, the desired default branch name and whether or not you would like the original default branch deleted after updates.