Be clearer about when instructions to collaborators about a renamed branch are displayed (#45014)
This commit is contained in:
@@ -19,7 +19,7 @@ You can rename a branch in a repository on {% data variables.location.product_lo
|
||||
|
||||
When you rename a branch on {% data variables.location.product_location %}, any URLs that contain the old branch name are automatically redirected to the equivalent URL for the renamed branch. Branch protection policies are also updated, as well as the base branch for open pull requests (including those for forks) and draft releases. If the renamed branch is the head branch of an open pull request, this pull request is closed.
|
||||
|
||||
After the rename is complete, {% data variables.product.prodname_dotcom %} provides instructions on the repository's home page directing contributors to update their local Git environments.
|
||||
If a repository's default branch is renamed, {% data variables.product.prodname_dotcom %} provides instructions on the repository's home page directing contributors to update their local Git environments.
|
||||
|
||||
Although file URLs are automatically redirected, raw file URLs are not redirected. Also, {% data variables.product.prodname_dotcom %} does not perform any redirects if users perform a `git pull` for the previous branch name.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user