We warmly welcome all those who wish to contribute to Online Book Sales. Whether you're looking to add a new feature or fix a bug, your help is greatly appreciated. Follow the steps below to start contributing:
-
Create a folder at your desired location (usually on your desktop).
-
Open Git Bash in the new folder.
-
Initialize a Git repository by running the command:
git init
-
Fork the repository on GitHub.
-
Clone your forked repository of the project using:
git clone https://github.com/<your_username>/OnlineBookSales.git
-
Navigate to the project directory:
cd FunwithScience
-
Add a reference(remote) to the original repository:
git remote add upstream https://github.com/Trisha-tech/OnlineBookSales.git
-
Check the remotes for this repository:
git remote -v
-
Update your fork with the latest changes from the upstream repository:
git pull upstream main
-
Create a new branch (prefer a branch name that relates to your assigned issue):
git checkout -b <YOUR_BRANCH_NAME>
-
Make your desired changes to the code base.
-
Check your changes:
git status git diff
-
Stage your changes:
git add . <\files_that_you_made_changes>
-
Commit your changes:
git commit -m "relevant message"
-
Push the committed changes in your feature branch to your remote repository.