You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/github/administering-a-repository/renaming-a-branch.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ intro: You can change the name of a branch in a repository.
4
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.
5
5
versions:
6
6
free-pro-team: '*'
7
+
enterprise-server: '>=3.1'
7
8
---
8
9
9
10
### About renaming branches
@@ -32,5 +33,5 @@ From the local clone of the repository on a computer, run the following commands
Copy file name to clipboardExpand all lines: content/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ In addition to managing organization-level settings, organization owners have ad
108
108
| Make a repository a template (see "[Creating a template repository](/articles/creating-a-template-repository)") |||||**X**|
109
109
| Change a repository's settings |||||**X**|
110
110
| Manage team and collaborator access to the repository |||||**X**|
111
-
| Edit the repository's default branch | | | | | **X** |{% if currentVersion == "free-pro-team@latest" %}
111
+
| Edit the repository's default branch | | | | | **X** |{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}
112
112
| Rename the repository's default branch (see "[Renaming a branch](/github/administering-a-repository/renaming-a-branch)") |||||**X**|
113
113
| Rename a branch other than the repository's default branch (see "[Renaming a branch](/github/administering-a-repository/renaming-a-branch)") | | | **X** | **X** | **X** |{% endif %}
114
114
| Manage webhooks and deploy keys | | | | | **X** |{% if currentVersion == "free-pro-team@latest" %}
Copy file name to clipboardExpand all lines: content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-a-user-account-repository.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The repository owner has full control of the repository. In addition to the acti
29
29
| :- | :- |
30
30
| {% if currentVersion == "free-pro-team@latest" %}Invite collaborators{% else %}Add collaborators{% endif %} | "[Inviting collaborators to a personal repository](/github/setting-up-and-managing-your-github-user-account/inviting-collaborators-to-a-personal-repository)" |
31
31
| Change the visibility of the repository | "[Setting repository visibility](/github/administering-a-repository/setting-repository-visibility)" |{% if currentVersion == "free-pro-team@latest" %}
32
-
| Limit interactions with the repository | "[Limiting interactions in your repository](/github/building-a-strong-community/limiting-interactions-in-your-repository)" |{% endif %}{% if currentVersion == "free-pro-team@latest" %}
32
+
| Limit interactions with the repository | "[Limiting interactions in your repository](/github/building-a-strong-community/limiting-interactions-in-your-repository)" |{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}
33
33
| Rename a branch, including the default branch | "[Renaming a branch](/github/administering-a-repository/renaming-a-branch)" |{% endif %}
34
34
| Merge a pull request on a protected branch, even if there are no approving reviews | "[About protected branches](/github/administering-a-repository/about-protected-branches)" |
35
35
| Delete the repository | "[Deleting a repository](/github/administering-a-repository/deleting-a-repository)" |
@@ -62,7 +62,7 @@ Collaborators can also perform the following actions.
62
62
63
63
| Action | More information |
64
64
| :- | :- |
65
-
| Fork the repository | "[About forks](/github/collaborating-with-issues-and-pull-requests/about-forks)" |{% if currentVersion == "free-pro-team@latest" %}
65
+
| Fork the repository | "[About forks](/github/collaborating-with-issues-and-pull-requests/about-forks)" |{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}
66
66
| Rename a branch other than the default branch | "[Renaming a branch](/github/administering-a-repository/renaming-a-branch)" |{% endif %}
67
67
| Create, edit, and delete comments on commits, pull requests, and issues in the repository | <ul><li>"[About issues](/github/managing-your-work-on-github/about-issues)"</li><li>"[Commenting on a pull request](/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request)"</li><li>"[Managing disruptive comments](/github/building-a-strong-community/managing-disruptive-comments)"</li></ul> |
68
68
| Create, assign, close, and re-open issues in the repository | "[Managing your work with issues](/github/managing-your-work-on-github/managing-your-work-with-issues)" |
0 commit comments