85be939c2a
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. Co-authored-by: xenofem <45297511+xenofem@users.noreply.github.com> |
||
---|---|---|
.. | ||
branch.go | ||
check.go | ||
commits.go | ||
commits_test.go | ||
create.go | ||
create_test.go | ||
fork.go | ||
fork_test.go | ||
generate.go | ||
hooks.go | ||
init.go | ||
main_test.go | ||
repo.go | ||
update.go |