Skip to content

Contributing

Ishaat Chowdhury edited this page Dec 21, 2019 · 4 revisions

In this repo, branch protection is enabled on master (even for admins). So to contribute, you must open an merge a pull request into master.

First create a new branch:

git checkout -b new-branch-name

Then, add and commit your changes. Finally, push your changes to a remote branch with the same name as your local branch:

git push -u origin HEAD

Then, create a pull request in Github. As part of our site's build process, a version of the site with your changes gets built and deployed to a temporary url in Netlify. This is called a Deploy Preview. BEFORE YOU MERGE THE PULL REQUEST, CHECK THE DEPLOY PREVIEW ON NETLIFY. To do this, click the details button next to the Deploy Preview Github check. Check for any spelling mistakes or weird bugs on the website and fix it. You can keep iterating over one pull request as much as you need.

netlify-deploy-preview

Clone this wiki locally