- Check out the issues
- Fork this repository
- Clone your fork
- Add the upstream project (this one) as a git remote:
$ git remote add upstream git@github.com:rpearce/react-medium-image-zoom.git $ git fetch upstream $ git rebase upstream/main - Check out a feature branch
$ git switch -C my-feature - Make your changes
- Push your branch to your GitHub repo
$ git push origin my-feature - Create a pull request
from your branch to this repo's
mainbranch - When all is merged, pull down the upstream changes to your
main$ git checkout main $ git fetch upstream $ git rebase upstream/main - Delete your feature branch (locally and then on GitHub)
$ git branch -D my-feature $ git push origin :my-feature
Ensure sure your changes are adequately tested via the Storybook stories/, and
if automated testing is possible, feel free to add test coverage.