Contribution Guidelines
Follow the steps below to start contributing, and make your first PR. We hope you have fun!
Firstly, fork the repository you want to contribute to by clicking on the fork button.
Now clone the Repo by typing the following commands in the
terminal:
$ https://github.com/< your_user_name >/Learn-Quest.git
$ cd Learn-Quest
Add the original repository as a remote named upstream.
Now add a reference to the original repository(by typing following command).
$ git remote add upstream https://github.com/DSC-JSS-NOIDA/Learn-Quest.git
Check the remotes for your repository:
$ git remote -v
Always take a pull from the upstream repository to your master branch to keep it at par with the main
project:
$ git pull upstream main
Create a new branch to perform your changes:
$ git checkout -b < your_branch_name >
Perform the desired changes that you want to perform in the repository.
After performing the changes, track your changes:
$ git add .
Now commit your changes:
$ git commit -m "< type_Message >"
Fetch the newest work from upstream.
$ git fetch upstream
Merge the main branch of that repository into your topic branch.
$ git merge upstream/main
Push the committed changes in your feature branch to your remote repo:
$ git push -u origin < branch name you gave earlier >
Navigate to the original repository and make a pull request, by clicking on Compare and Pull
Request
Add appropriate title and description to your pull request explaining your changes and efforts
done.
Click On Create Pull Request