samrocketman/gitlab-mirrors

GitLab sets the first pushed branch as the default branch

Open

#93 建立於 2016年3月15日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Shell (165 fork)github user discovery
buggood first issuehelp wantedpython

倉庫指標

Star
 (823 star)
PR 合併指標
 (PR 指標待抓取)

描述

my repos mirrored from Github end up in Gitlab with a different default branch. I'm guessing it is related to: https://feeding.cloud.geek.nz/posts/setting-default-git-branch-in-bare/

but my git knowledge falls off quite a bit when we started talking about refs and such

any reason not to just "ref: refs/heads/master" on every new repo/project in Github?

貢獻者指南