@(repository: gitbucket.core.service.RepositoryService.RepositoryInfo, protectedBranchList: Seq[String], info: Option[Any])(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ @import gitbucket.core.model.WebHook._ @html.main("Branches", Some(repository)){ @html.menu("settings", repository){ @menu("branches", repository){ @if(repository.branchList.isEmpty){
You don’t have any branches
Before you can edit branch settings, you need to add a branch.
The default branch is considered the “base” branch in your repository, against which all pull requests and code commits are automatically made, unless you specify a different branch.
Protect branches to disable force pushing, prevent branches from being deleted, and optionally require status checks before merging. New to protected branches?
| @branch Edit |