Skip to content

Commit

Permalink
Renamed master branch to main in CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eych committed Aug 1, 2023
1 parent 0ea7b33 commit 4be83e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```
$ git remote add upstream [email protected]:rpearce/react-medium-image-zoom.git
$ git fetch upstream
$ git rebase upstream/master
$ git rebase upstream/main
```
1. Check out a feature branch
```
Expand All @@ -19,12 +19,12 @@
$ git push origin my-feature
```
1. Create a [pull request](https://help.github.com/articles/about-pull-requests/)
from your branch to this repo's `master` branch
1. When all is merged, pull down the upstream changes to your `master`
from your branch to this repo's `main` branch
1. When all is merged, pull down the upstream changes to your `main`
```
$ git checkout master
$ git checkout main
$ git fetch upstream
$ git rebase upstream/master
$ git rebase upstream/main
```
1. Delete your feature branch (locally and then on GitHub)
```
Expand Down

0 comments on commit 4be83e3

Please sign in to comment.