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
Show a notice to contributors who git push to the old branch
Redirect web requests for the old branch name to the new branch name
Return a "Moved Permanently" response in API requests for the old branch name
Anyone with a local clone of the repository will need to update their clone. The following commands assume a remote name of upstream for the Elastic organization's repository. If you use something different, be sure to replace the remote name in the following commands.
$ git branch -m master main
$ git fetch upstream
$ git branch -u upstream/main main
$ git remote set-head upstream -a
The text was updated successfully, but these errors were encountered:
As part of a larger neutral naming effort at Elastic, we want to move from using
master
tomain
as the default branch name in GitHub. This involves:master
in code (Update references to the default branch name #5344)master
tomain
in the GitHub UI - 8AM PT (UTC−07:00) November 4Reference updates will be completed in a branch in advance, and will be merged immediately upon name change completion.
Renaming a branch will:
Anyone with a local clone of the repository will need to update their clone. The following commands assume a remote name of
upstream
for the Elastic organization's repository. If you use something different, be sure to replace the remote name in the following commands.The text was updated successfully, but these errors were encountered: