InnerSourceCommons / InnerSourceCommons/innersourcecommons.org

Change default branch name from master -> main

Open
#100 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
31
Forks
33
Avg merge
15h 24m
Merged PRs (30d)
22

Description

"master" as a branch name has some hostile implications. Suggest we change to "main" for the primary branch. Would need to:

  • Rename branch via github repo settings (settings/branches)
  • Update github workflow push branch
  • Update branch protection in settings if not automatically renamed
  • Inform the community members that may have the repo checked out locally

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the GitHub repository settings, especially Settings/Branches, and inspect the workflow configuration for its push branch. Confirm how branch protection behaves during the rename, update the primary branch and workflow reference, then communicate the change to community members with local checkouts.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.