git-rename-master-branch-to-main
Use git to rename the default branch from "master" to "main"
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.3%) to scientific vocabulary
Repository
Use git to rename the default branch from "master" to "main"
Basic Info
- Host: GitHub
- Owner: SixArm
- Language: Shell
- Default Branch: main
- Size: 18.6 KB
Statistics
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
git-rename-master-branch-to-main
This tool helps you use git to change your git repository from the default branch name 'master' to a new name 'main'.
This tool is intentionally step-by-step so it is suitable for one-time use by people who may be less-familiar with git.
If you are a skilled git user, or if you have many repos and you want to automate changing them, then you edit this tool to remove prompts, or search the net for automation scripts.
This tool can also use the GitHub API to change the default branch name. We welcome developer help to add the Bitbucket API, GitLab API, etc.
If you use GitHub, and you want to automatically rename branches, and especially if you want to process many repos all at once, then you may want to try this automation tool: github-default-branch.
Constructive feedback welcome.
Owner
- Name: SixArm
- Login: SixArm
- Kind: organization
- Email: sixarm@sixarm.com
- Location: San Francisco
- Website: http://sixarm.com
- Twitter: sixarm
- Repositories: 580
- Profile: https://github.com/SixArm
SixArm Software
Citation (CITATION.cff)
cff-version: 1.2.0
title: git-rename-master-branch-to-main
message: >-
If you use this work and you want to cite it,
then you can use the metadata from this file.
type: software
authors:
- given-names: Joel Parker
family-names: Henderson
email: joel@joelparkerhenderson.com
affiliation: joelparkerhenderson.com
orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
- type: url
value: 'https://github.com/SixArm/git-rename-master-branch-to-main/'
description: git-rename-master-branch-to-main
repository-code: 'https://github.com/SixArm/git-rename-master-branch-to-main/'
abstract: >-
git-rename-master-branch-to-main
license: See license file
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: 12 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Joel Parker Henderson | j****l@j****m | 9 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 2
- Total pull requests: 1
- Average time to close issues: 11 months
- Average time to close pull requests: about 10 hours
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 2.0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- combinatorist (2)
Pull Request Authors
- jafow (1)