https://github.com/qiuzhifei/github-renaming
Renaming the default branch
https://github.com/qiuzhifei/github-renaming
github github-renaming
Last synced: about 2 months ago
JSON representation
Renaming the default branch
- Host: GitHub
- URL: https://github.com/qiuzhifei/github-renaming
- Owner: QiuZhiFei
- License: mit
- Created: 2021-07-28T07:43:58.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-28T08:38:30.000Z (almost 5 years ago)
- Last Synced: 2025-02-28T20:48:47.377Z (over 1 year ago)
- Topics: github, github-renaming
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Renaming the default branch
Renaming the default branch of our own repositories from master to main.
## Installation
```
gem install github-renaming
```
## Usage
```
github-renaming default-branch -t -r
```
Rename master to main
```
github-renaming default-branch master main -t -r
```
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).