Skip to content

Commit 4625212

Browse files
Merge pull request SharePoint#8408 from alexbuckgit/alexbuckgit/docutune-autopr-docs-link-absolute-20220830-204520-5637469
Fix CONTRIBUTING.md to reference the correct default branch
2 parents 65bac66 + a344405 commit 4625212

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ remove: Total 10 (delta 1), reused 10 (delta 1)
108108
Unpacking objects: 100% (10/10), done.
109109
```
110110

111-
## Switch to `master` branch
111+
## Switch to `main` branch
112112

113-
In order to add your changes, you will need to do those in the `master` branch.
113+
In order to add your changes, you will need to do those in the `main` branch.
114114

115-
Type the following command in the console to switch to `master` branch:
115+
Type the following command in the console to switch to `main` branch:
116116

117117
```
118-
git checkout master
118+
git checkout main
119119
```
120120

121121
Now, you can update existing docs or add new docs to the docs repo.
@@ -131,15 +131,15 @@ Depending on the doc's intent, you can choose to add your doc into `basics` or
131131

132132
## Submit a pull request
133133

134-
Once you have completed adding your changes, you can submit a pull request.
134+
Once you have completed adding your changes, you can submit a pull request.
135135

136-
Navigate to the forked sp-dev-docs repo in your account. Make sure your current branch is `master` branch.
136+
Navigate to the forked sp-dev-docs repo in your account. Make sure your current branch is `main` branch.
137137

138-
Once you are in the `master` branch, you should see a message stating `This branch is 1 commit ahead of SharePoint:master` and next to it will be a `Pull request` link.
138+
Once you are in the `main` branch, you should see a message stating `This branch is 1 commit ahead of Sharepoint:main` and next to it will be a `Pull request` link.
139139

140140
![Submit a pull request to sp-dev-docs repo](../images/contribute-docs-submit-pr.png)
141141

142-
Click the `Pull request` link to start a new pull request. Make sure you use this [template](PULL_REQUEST_TEMPLATE.md) to fill in your changes. Make sure you are creating this pull request against the `master` branch.
142+
Click the `Pull request` link to start a new pull request. Make sure you use this [template](PULL_REQUEST_TEMPLATE.md) to fill in your changes. Make sure you are creating this pull request against the `main` branch.
143143

144144
Once you have all the information, click the `Create pull request` button to submit your pull request.
145145

0 commit comments

Comments
 (0)