|
275 | 275 | * The URL of this Git repository, used by "rush change" to determine the base branch for your PR. |
276 | 276 | * |
277 | 277 | * The "rush change" command needs to determine which files are affected by your PR diff. |
278 | | - * If you merged or cherry-picked commits from the master branch into your PR branch, those commits |
| 278 | + * If you merged or cherry-picked commits from the main branch into your PR branch, those commits |
279 | 279 | * should be excluded from this diff (since they belong to some other PR). In order to do that, |
280 | 280 | * Rush needs to know where to find the base branch for your PR. This information cannot be |
281 | 281 | * determined from Git alone, since the "pull request" feature is not a Git concept. Ideally |
282 | 282 | * Rush would use a vendor-specific protocol to query the information from GitHub, Azure DevOps, etc. |
283 | | - * But to keep things simple, "rush change" simply assumes that your PR is against the "master" branch |
| 283 | + * But to keep things simple, "rush change" simply assumes that your PR is against the "main" branch |
284 | 284 | * of the Git remote indicated by the repository.url setting in rush.json. If you are working in |
285 | 285 | * a GitHub "fork" of the real repo, this setting will be different from the repository URL of your |
286 | 286 | * your PR branch, and in this situation "rush change" will also automatically invoke "git fetch" |
287 | | - * to retrieve the latest activity for the remote master branch. |
| 287 | + * to retrieve the latest activity for the remote main branch. |
288 | 288 | */ |
289 | | - "url": "https://github.com/microsoft/tsdoc.git" |
| 289 | + "url": "https://github.com/microsoft/tsdoc.git", |
290 | 290 |
|
291 | 291 | /** |
292 | 292 | * The default branch name. This tells "rush change" which remote branch to compare against. |
293 | | - * The default value is "master" |
| 293 | + * The default value is "main" |
294 | 294 | */ |
295 | | - // "defaultBranch": "master", |
| 295 | + "defaultBranch": "main" |
296 | 296 |
|
297 | 297 | /** |
298 | 298 | * The default remote. This tells "rush change" which remote to compare against if the remote URL is |
|
0 commit comments