Feature #10207
Git: use default branch from HEAD
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Toshi MARUYAMA | % Done: | 0% | |
| Category: | SCM | |||
| Target version: | 1.4.0 | |||
| 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

Associated revisions
scm: git: update test repository (#10207)
New "master-20120212" branch is added.
Git branch is the reference to the specific revision.
This branch points the same revision with "master" branch.
scm: git: use default branch from HEAD (#10207)
scm: git: explicitly return string as default branch (#10207)
History
#1 Updated by Toshi MARUYAMA over 1 year ago
- Description updated (diff)
#2 Updated by Toshi MARUYAMA over 1 year ago
- Status changed from New to Closed
- Target version set to 1.4.0
- Resolution set to Fixed