@@ -287,11 +287,11 @@ in the form:
287287
288288* ` GIT_REMOTE_REF ` : Change to the remote portion of git refspec.
289289 To specify the branch this way, ` refs/heads/BRANCH ` is used
290- (e.g. for ` master ` -> ` refs/heads/master ` ).
290+ (e.g. for ` main ` -> ` refs/heads/main ` ).
291291 For pull requests, it will look like ` refs/pull/PR_NUMBER/head `
292292 (e.g. for pull request #42 -> ` refs/pull/42/head ` ).
293- * ` REBASE_ONTO ` : Change that to ` origin/master ` so the pull request gets rebased
294- onto master . This can especially be important for pull requests that have been
293+ * ` REBASE_ONTO ` : Change that to ` origin/main ` so the pull request gets rebased
294+ onto ` main ` . This can especially be important for pull requests that have been
295295 open a while.
296296
297297Look at the list of jobs on the left hand side under "Build History" and copy
@@ -337,7 +337,7 @@ For undocumented APIs that are public, open a pull request documenting the API.
337337### Breaking changes
338338
339339At least two TSC members must approve backward-incompatible changes to the
340- master branch.
340+ ` main ` branch.
341341
342342Examples of breaking changes include:
343343
@@ -373,7 +373,7 @@ providing a Public API in such cases.
373373#### Unintended breaking changes
374374
375375Sometimes, a change intended to be non-breaking turns out to be a breaking
376- change. If such a change lands on the master branch, a collaborator can revert
376+ change. If such a change lands on the ` main ` branch, a collaborator can revert
377377it. As an alternative to reverting, the TSC can apply the semver-major label
378378after-the-fact.
379379
@@ -462,7 +462,7 @@ duration.
462462
463463Communicate pending deprecations and associated mitigations with the ecosystem
464464as soon as possible. If possible, do it before the pull request adding the
465- deprecation lands on the master branch.
465+ deprecation lands on the ` main ` branch.
466466
467467Use the ` notable-change ` label on pull requests that add or change the
468468deprecation level of an API.
@@ -554,15 +554,15 @@ $ git rebase --abort
554554Checkout proper target branch:
555555
556556``` text
557- $ git checkout master
557+ $ git checkout main
558558```
559559
560560Update the tree (assumes your repository is set up as detailed in
561561[ CONTRIBUTING.md] ( ./pull-requests.md#step-1-fork ) ):
562562
563563``` text
564564$ git fetch upstream
565- $ git merge --ff-only upstream/master