Project

General

Profile

Actions

Feature #34942

closed

Support for Git repositories with default branch "main"

Added by Go MAEDA over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Since GitHub renamed the default branch name from "master" to "main" in 2020, more and more Git repositories in the world have the default branch of “main” instead of “master”. However, Redmine does not recognize "main" branch as the default branch.
https://github.com/github/renaming

After applying the attached patch, "main" will be recognized as the default branch in addition to "master".


Files

support-git-main-branch.patch (2.55 KB) support-git-main-branch.patch Go MAEDA, 2021-03-20 06:30
Actions

Also available in: Atom PDF