mirror of
https://github.com/go-gitea/gitea
synced 2025-02-02 04:54:34 +00:00
d1562bfc34
This fixes an issue I noticed with #10803: when you create a repo with a non-master default branch, gitea doesn't change the remote ref HEAD, so it still points at refs/heads/master. As a result, cloning my repos gives me error messages and doesn't check out the desired default branch, so I need to manually check it out after cloning.