Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 2.38 KB

Learn.md

File metadata and controls

65 lines (43 loc) · 2.38 KB

Contributing to Foodie - A Food Ordering Website

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.

How to Contribute

  1. 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.

  2. Clone Your Fork: Clone the repository to your local machine using the following command:

    git clone https://github.com/yourusername/FoodOrderingWebsite.git
  3. Navigate to the Project Directory: Enter the directory of the cloned project:

    cd FoodOrderingWebsite
  4. 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
  5. 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
  6. Make Changes: Now you're ready to make your changes! Feel free to modify existing code, add new features, or fix bugs.

  7. Commit Your Changes: Once you've made your changes, commit them with a descriptive message:

    git add .
    git commit -m "Add feature or fix"
  8. Push Changes to Your Fork: Push your changes to your fork on GitHub:

    git push origin feature-or-fix-name
  9. 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.

Code Guidelines

  • Follow the existing code style and structure.
  • Write clear and concise commit messages.
  • Test your changes thoroughly before submitting a pull request.

Resources

Contact

If you have any questions or need assistance, feel free to reach out to us via GitHub Issues.

We appreciate your contributions!