Skip to content

Commit cde16c6

Browse files
authored
Change default branch name in docs (#728)
Experimentally, github is returning an assumption of "main" now rather than master, which is in accordance with underlying git/github semantics. Docs should reflect this as mutations in `source_branch` can lead to plans that destroy and recreate these branches, which is likely unintended behaviour.
1 parent 64272e4 commit cde16c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/r/branch.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The following arguments are supported:
2929

3030
* `branch` - (Required) The repository branch to create.
3131

32-
* `source_branch` - (Optional) The branch name to start from. Defaults to `master`.
32+
* `source_branch` - (Optional) The branch name to start from. Defaults to `main`.
3333

3434
* `source_sha` - (Optional) The commit hash to start from. Defaults to the tip of `source_branch`. If provided, `source_branch` is ignored.
3535

0 commit comments

Comments
 (0)