default branch: setting method, in RepositoryService
In current GitLab, setting the default branch from the Rails app is done by the `Project` model, which in turn does: repository.raw_repository.write_ref('HEAD', "refs/heads/#{branch}") and write_ref is provided by RepositoryService
Loading
Please register or sign in to comment