-
Don't create a pull request on an issue that doesn't exist, create an issue first and if the changes you are proposing are said to be okay, you can go ahead and create a pull request
-
Don't work on anything unless you are assigned, if you make a pull request without being assigned to that issue, it will be closed without being merged
-
Don't work on more than one issue at a time, this is so that you don't make a huge pull request and others can have opportunities to work on another issue while you work on something else
-
Do read the
readme.md
file -
Add the Issue you worked on in your Pull Request
-
Don't work on the main branch, create your own branch by following the instructions here
-
Don't commit the lock files eg package.json
-
Fill out issue and pull request(PR) templates properly, if you don't know how, check out previous issues/PR to know how they are filled or this video👇🏾
pull.request.template.webm
- Take a look at the existing Issues or create a new issue!
- Fork the Repo. Then, create a branch for any issue that you are working on. Finally, commit your work.
- Create a Pull Request (PR), which will be promptly reviewed and given suggestions for improvements by the community.
- Add screenshots or screen captures to your Pull Request to help us understand the effects of the changes proposed in your PR.
-
Start by making a Fork of the HearItFresh repository. Click on the Fork symbol at the top right corner.
-
Clone your new fork of the repository in the terminal/CLI on your computer with the following command:
git clone https://github.com/<your-github-username>/HearItFresh
- Navigate to the newly created HearItFresh project directory:
cd HearItFresh
-
Install the dependencies
pnpm add && pnpm add -g commitizen
-
Run the project
pnpm dev
- Set upstream command:
git remote add upstream https://github.com/Dun-sin/HearItFresh.git
- Create a new branch:
git checkout -b YourBranchName
- Sync your fork or your local repository with the origin repository:
- In your forked repository, click on "Fetch upstream"
- Click "Fetch and merge"
git fetch upstream
git merge upstream/main
Github Docs for Syncing
-
Make your changes to the source code.
-
Stage your changes and commit:
git cz
- Push your local commits to the remote repository:
git push origin YourBranchName
-
Create a Pull Request!
-
Congratulations! You've made your first contribution to HearItFresh!
🏆 After this, the maintainers will review the PR and will merge it if it helps move the Hear It Fresh
project forward. Otherwise, it will be given constructive feedback and suggestions for the changes needed to add the PR to the codebase.
In order to discuss changes, you are welcome to open an issue about what you would like to contribute. Enhancements are always encouraged and appreciated.