- Go to preferred folder in your computer and paste the following command after forking our repository (Only one of it if you don't have ssh setup then go with HTTP command)
git clone https://github.com/<YOUR-USERNAME>/Bon-Hack-tit.git
- Navigate to the project folder
cd Bon-Hack-tit/
- Install dependencies
npm i
- Now do ahead and create a new branch and move to the branch
git checkout -b fix-issue-<ISSUE-NUMBER>
Note: Replace
<ISSUE-NUMBER>
with the issue number you are working on
- Run in local
npm start
Add new features or fix bugs according to your issue number
- After done you can now push this changes, for doing that follow the following command chain
-
git status -s
(Shows the changed files) -
git add --all
(Will add all the files to staging area) -
git commit -m "feat/docs/fix: <EXPLAIN-YOUR_CHANGES>"
Note: Replace
<EXPLAIN-YOUR_CHANGES>
with the changes you have made. Also, follow the conventional commits for writing commit messages -
git remote add upstream https://github.com/coder12git/Bon-Hack-tit.git
-
git push origin fix-issue-<ISSUE-NUMBER>
-
After this go to your forked GitHub repository and go to
Pull Request
section. Now you might be able to see a pop up saying Pull Request. Click on the popup and you will be redirected to pull request page -
Now fill in the form template of the pull request and give the necessary description.
-
Click on Submit
-
Hurray! You just made your first contribution to this project 🎉
-
Wait for your pull request to be reviewed and merged.