Day 01 : 🛠️ Getting Started with Open Source Contributions: A Step-by-Step Guide
Anand Raval
2 min read
Day 01 :
Workflow
Understanding Issues in Open Source Repositories
- An issue in an open source repository is a way to track bugs, enhancements, or other requests. For example, if a feature is not working as expected, you can create an issue to notify the maintainers.
Creating an Issue for Your Website
- To create an issue for your website, navigate to the repository on GitHub, click on the "Issues" tab, and then click "New Issue." Use a template if available to provide details such as the problem description, steps to reproduce, and expected behavior.
Finding a Solution and Directly Pushing Code
- Once you find a solution to an issue, you cannot directly push the code to the main repository. You need to follow the contribution guidelines.
Contributing to an Open Source Project
- To contribute, first fork the repository to create a copy under your GitHub account. Clone this fork to your local machine to make changes.
Linking a Pull Request to an Issue
- When you create a pull request (PR), you can link it to an issue by mentioning the issue number in the PR description. For example, "Fixes #123" will link the PR to issue number 123.
Creating a Pull Request
- After making changes, push them to your forked repository and create a pull request. In the PR description, clearly explain what you have fixed or added, and reference the issue number (e.g., "fixed #123" or "solved #123") so the maintainers know what the PR addresses.
0
Subscribe to my newsletter
Read articles from Anand Raval directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Anand Raval
Anand Raval
"I'm a 3rd-year Computer Engineering student at Marwadi University with skills in C++, web development (MERN stack), and DevOps tools like Kubernetes. I contribute to open-source projects and share tech knowledge on GitHub and LinkedIn. I'm learning cloud technologies and app deployment. As an Internshala Student Partner, I help others find jobs and courses." now currently focusing on #90DaysOfDevops