Project

General

Profile

Actions

Feature #10207

closed

Git: use default branch from HEAD

Added by Toshi MARUYAMA almost 13 years ago. Updated almost 13 years ago.

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

0%

Estimated time:
Resolution:
Fixed

Description

https://www.chiliproject.org/issues/749

Redmine 1.3 uses "master" as git default branch.

You can change HEAD by "git symbolic-ref" on bare repository.

$ git branch
* master
  master-20120211

$ git symbolic-ref HEAD refs/heads/master-20120211
$ git branch
  master
* master-20120211


Files

git-default-branch.png (50.9 KB) git-default-branch.png Toshi MARUYAMA, 2012-02-12 07:07
Actions

Also available in: Atom PDF