Welcome to Foodie's open-source project! We're thrilled that you're interested in contributing. This guide will help you get started with making your first contribution to the project.
-
Fork the Repository: Click the "Fork" button in the top-right corner of this repository's page to create your own copy of the project.
-
Clone Your Fork: Clone the repository to your local machine using the following command:
git clone https://github.com/yourusername/FoodOrderingWebsite.git
-
Navigate to the Project Directory: Enter the directory of the cloned project:
cd FoodOrderingWebsite
-
Set Up Remote Upstream: Connect your fork to the original repository to stay updated with its changes:
git remote add upstream https://github.com/originalusername/FoodOrderingWebsite.git
-
Create a Branch: Before making any changes, create a new branch to work on your feature or bug fix:
git checkout -b feature-or-fix-name
-
Make Changes: Now you're ready to make your changes! Feel free to modify existing code, add new features, or fix bugs.
-
Commit Your Changes: Once you've made your changes, commit them with a descriptive message:
git add . git commit -m "Add feature or fix"
-
Push Changes to Your Fork: Push your changes to your fork on GitHub:
git push origin feature-or-fix-name
-
Submit a Pull Request: Go to your fork on GitHub and click on the "New Pull Request" button. Provide a descriptive title and detailed description of your changes. Then, submit the pull request for review.
- Follow the existing code style and structure.
- Write clear and concise commit messages.
- Test your changes thoroughly before submitting a pull request.
If you have any questions or need assistance, feel free to reach out to us via GitHub Issues.
We appreciate your contributions!