[Meta/Maintenance]: Update default branch name so it's not master #2601

Closed
opened 2026-02-05 04:35:43 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @ssddanbrown on GitHub (Jan 25, 2022).

Describe the feature you'd like

Think we should update the default branch name to get with the times.
Not had any complaints or seen anyone take offence (For BookStack) but might as well change it since master is not overly descriptive and there may be those that are privately offended or feel awkward using master. Not much hassle on our side to accommodate that.

I've changed the other BookStackApp repos to use main, but thinking we'd be better off with dev / develop / development since that better describes the main purpose of the default BookStack branch and may provide an obvious indicator for people on the wrong branch.

Should be relatively easy to change, thanks to most people using the release branch. Thinking it should only really affect current active developers. From experience, GitHub should redirect existing links to the new default branch which acts as a nice backup for old references.

Areas to update

  • Website references (If any)
  • GitHub action branch references
  • Maintainer scripts (In devops repo)
  • Integrations
    • CrowdIn
    • StyleCI
    • Code Climate
Originally created by @ssddanbrown on GitHub (Jan 25, 2022). ### Describe the feature you'd like Think we should update the default branch name to get with the times. Not had any complaints or seen anyone take offence (For BookStack) but might as well change it since `master` is not overly descriptive and there may be those that are privately offended or feel awkward using `master`. Not much hassle on our side to accommodate that. I've changed the other BookStackApp repos to use `main`, but thinking we'd be better off with `dev` / `develop` / `development` since that better describes the main purpose of the default BookStack branch and may provide an obvious indicator for people on the wrong branch. Should be relatively easy to change, thanks to most people using the `release` branch. Thinking it should only really affect current active developers. From experience, GitHub should redirect existing links to the new default branch which acts as a nice backup for old references. #### Areas to update - [x] Website references (If any) - [x] GitHub action branch references - [x] Maintainer scripts (In devops repo) - [x] Integrations - [x] CrowdIn - [x] StyleCI - [x] Code Climate
OVERLORD added the :octocat: Admin/Meta label 2026-02-05 04:35:43 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 30, 2022):

Complete! May be other references out there but should be redirected by GitHub to new develop references.

@ssddanbrown commented on GitHub (Jan 30, 2022): Complete! May be other references out there but should be redirected by GitHub to new develop references.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2601