Skip to content

Commit bdb9dd9

Browse files
authored
Update CONTRIBUTING.md to referenc 'main' branch
1 parent 134a592 commit bdb9dd9

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ If you would like for the GitHub UI to link the commit to your account and award
7575

7676
#### Step 2 : Branch
7777

78-
As a best practice to keep your development environment as organized as possible, create local branches to work within. When you create a branch, do it directly off of the upstream **develop** branch.
78+
As a best practice to keep your development environment as organized as possible, create local branches to work within. When you create a branch, do it directly off of the upstream **main** branch.
7979

8080
```
81-
git checkout upstream develop
81+
git checkout upstream main
8282
git checkout -b my-branch
8383
```
8484

@@ -178,13 +178,13 @@ Note that multiple commits often will get squashed when they are landed.
178178
As a best practice, once you have committed your changes, it is a good idea to use `git rebase` (not `git merge`) to synchronize your work with the main repository.
179179

180180
```
181-
git checkout upstream develop
182-
git pull upstream develop
181+
git checkout upstream main
182+
git pull upstream main
183183
git checkout my-branch
184-
git rebase develop
184+
git rebase main
185185
```
186186

187-
This ensures that your working branch has the latest changes from the develop branch of the origin repository. Moreover, your Pull Request will be easier to merge.
187+
This ensures that your working branch has the latest changes from the main branch of the origin repository. Moreover, your Pull Request will be easier to merge.
188188

189189
#### Step 6 : Test
190190

@@ -230,10 +230,10 @@ git push origin my-branch
230230
If a git conflict arises, it is necessary to synchronize your branch with other changes that have landed upstream by using git `rebase`:
231231

232232
```
233-
git checkout upstream develop
234-
git pull upstream develop
233+
git checkout upstream main
234+
git pull upstream main
235235
git checkout my-branch
236-
git rebase develop
236+
git rebase main
237237
git push --force origin my-branch
238238
```
239239

0 commit comments

Comments
 (0)