If you want to improve your coding skills, you're in the right place. This is an open-source project designed for beginners to learn by doing. We've purposely added bugs to some code examples, and we're inviting you to fix them!
Inside this repository, you'll find code files with intentional bugs. Your mission, should you choose to accept it, is to:
- 🐞 Identify and fix these bugs.
- 📝 Explain the issues and your solutions.
- 📚 Write clear commit messages to document your changes.
🤓 While knowing a programming language is helpful, it's not required. What's essential is understanding Git and GitHub.
- 🧑 💻 Basic understanding of Git and GitHub.
- 🤓 Familiarity with at least one programming language (basic knowledge is enough).
- 🌐 Internet connection for downloading resources.
We welcome contributions from the community to help identify and fix bugs in the code. Here's how you can get involved:
-
🍴 Fork the repository on GitHub.
-
💻 Clone your forked repository to your computer.
git clone https://github.com/your-username/fossinit.git
-
🌿 Create a new branch for your changes.
git checkout -b bug-fix-branch-rollno # or any other name you like, but relevant
-
🛠️ Make your code changes and commit them with clear messages.
git commit -m "fix: describe what you fixed"
-
🚀 Push your changes to your forked repository.
git push origin bug-fix-branch
-
🔄 Create a Pull Request (PR) on GitHub, including a clear description of the bug and your fix.
- 🍴 Click the "Fork" button at the top right of this repository to create your own copy. (If you have already forked, ensure that you sync the repository by going to https://github.com/your-username/fossinit.git and then click on sync option present at the top)
- 🌐 Make your code changes directly in your forked repository using the GitHub web interface.
- 📝 Describe your changes and commit them.
- 🚀 Create a Pull Request (PR) on the original repository by clicking the "New Pull Request" button.
- 📄 Provide a clear description of the bug and your fix in the PR description.
- 📤 Submit the PR for review.
If you want to add more buggy code examples to this repository, follow these steps:
-
🍴 Fork the repository on GitHub.
-
💻 Clone your forked repository to your computer.
git clone https://github.com/your-username/fossinit.git
-
🌿 Create a new branch for your new buggy code.
git checkout -b new-bug-branch
-
➕ Add your new buggy code files to the repository.
-
🛠️ Commit your changes with descriptive messages.
git commit -m "add: description of the new buggy code"
-
🚀 Push your changes to your forked repository.
git push origin new-bug-branch
-
🔄 Create a Pull Request (PR) on GitHub, providing details about the new buggy code and its purpose.
This way, you can contribute by both fixing existing bugs and adding new ones for others to tackle.
If you come across a bug in the code that you can't fix or if you'd like to report a new bug, please open a new issue on GitHub. Describe the problem, including any error messages you received.
This project is licensed under the Apache License 2.0. See the LICENSE file for details. 📜