samrocketman/gitlab-mirrors

GitLab sets the first pushed branch as the default branch

Open

#93 geöffnet am 15. März 2016

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Shell (165 Forks)github user discovery
buggood first issuehelp wantedpython

Repository-Metriken

Stars
 (823 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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?

Contributor Guide