Skip to content

Commit b560531

Browse files
authored
Merge pull request #13228 from github/repo-sync
repo sync
2 parents e920fef + b39c605 commit b560531

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository

content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Renaming a branch
33
intro: You can change the name of a branch in a repository.
4-
permissions: People with write permissions to a repository can rename a branch in the repository. People with admin permissions can rename the default branch.
4+
permissions: 'People with write permissions to a repository can rename a branch in the repository unless it is the [default branch](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches#about-the-default-branch){% ifversion fpt or ghec %} or a [protected branch](/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches){% endif %}. People with admin permissions can rename the default branch{% ifversion fpt or ghec %} and protected branches{% endif %}.'
55
versions:
66
fpt: '*'
77
ghes: '>=3.1'

0 commit comments

Comments
 (0)