Thank you for investing your time in contributing to our project! Any contribution you make will be reflected on https://gitboardweb.vercel.app/ ✨.
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly.
If you spot a problem with the docs, search if an issue already exists. If a related issue doesn't exist, you can open a new issue using a relevant issue form.
Scan through our existing issues to find one that interests you. You can narrow down the search using labels
as filters. See Labels for more information. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix.
Follow these steps to contribute to the project:
-
Fork this repository
-
Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.
Open a terminal and run the following git command:
git clone "url you just copied"
where "url you just copied" (without the quotation marks) is the url to this repository (your fork of this project). See the previous steps to obtain the url.
The code will look something like this :
git clone https://github.com/{your user name}/GitBoard.git
-
Navigate to GitBoard on your device
cd GitBoard/
npm install
npm run dev
-
- Add an upstream link to the main branch in your cloned repo
git remote add upstream https://github.com/aashay28/GitBoard
- Keep your cloned repo up to date by pulling from upstream (this will also avoid any merge conflicts while committing new changes)
git pull upstream main
-
Create your feature branch (This is a necessary step, so don't skip it)
git checkout -b <feature-name>
-
Add your commits to the staging
git add .
-
- Now commit those changes using the
git commit
command:
git commit -m "Write a meaningful but small commit message"
- Now commit those changes using the
-
Push your changes using the command
git push
:git push -u origin your-branch-name
-
Create a PR on Github. (Don't just hit the create a pull request button, you must write a PR message to clarify why and what are you contributing)