Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Git Tutorial
  • Git Exercises
  • Git Basic Commands
  • Git Cheat Sheet
  • Git Interview Questions
  • Git Bash
  • GitHub
  • Git Branch
  • Git Merge
  • Git WorkFlow
  • Git Hooks
  • Git LFS
  • Git Rebase
  • Git Cherry Pick
Open In App
Next Article:
Making your first Open Source Pull Request | Github
Next article icon

Making your first Open Source Pull Request | Github

Last Updated : 29 Sep, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report
Open Source softwares are softwares for which the original source code is made freely available and may be redistributed and modified. As a Programmer, we are more interested in how to contribute to their codebase. A lot of newcomers find Open Source to be dreadful and daunting. But worry not, every great Open Source contributor had once been in a place that you are in right now. The following article may be helpful for those who wanna step into the amazing world of Open Source. Before we begin Following are the prerequisites required before diving into Open Source:
  • Good understanding of at-least one programming language of your choice
  • Version Control: Git/SVN and Github/Bitbucket/Gitlab
  • Learn to read large source code so that it doesn't appear gibberish. This article might help.
  • Learn how to use Bug/Issue Trackers
Where to start? Following are a few resources found to be useful for newcomers:
  • Up-for-grads
  • Open Hatch
  • Github: Great for new contributors
  • Firsttimersonly
The given resources consists of a list of projects by different organisations which can be filtered on the basis of programming languages used, category of project(Eg. Web, Databases, etc) and difficulty. Steps to make a Pull Request: Once you decide the repository you want to contribute to or the issue you want to work on, follow the steps in order to make your first pull request:
  1. Read the CONTRIBUTING.md guide(If present)
  2. Contributing.md file
  3. Discuss with the maintainers about the issue, ask questions(if any) and clear doubts. They are lovely people and are always ready to help. You might also ping them over their IRC or Mailing lists.
  4. Go ahead and Fork the repository
  5. Fork a repository Fork a repository
  6. Clone the repo: git clone https://github.com/YOUR_USERNAME/PROJECT.git
  7. Clone repository
  8. Add Upstream: git remote add upstream https://github.com/PROJECT_USERNAME/PROJECT.git
  9. Create new branch: git checkout -b BRANCH_NAME
  10. Create new branch
  11. Code Code Code: Make required changes
  12. Push changes: git push origin BRANCH_NAME
  13. Create pull request through Github
  14. Create a PR
Some other useful commands:
  • To check remote links: git remote -v
  • To check Branches: git branch
  • To delete branch: git branch -D BRANCH_NAME
  • To delete branch on Github: git push origin --delete BRANCH_NAME
Now all you have to do is wait for your changes to be reviewed by the maintainers and merged(or discarded). It feels good when you find that a piece of your written code is being used by people all around the world on a daily basis. On a side note, you might wanna check out GSOC. If this doesn't motivate you begin with Open Source, then nothing else might. See Also - How to get started with Open Source.

Next Article
Making your first Open Source Pull Request | Github

R

Raghav Jajodia
Improve
Article Tags :
  • Technical Scripter
  • Git

Similar Reads

    How To Create a Pull Request in GitHub?
    Pull requests are an important part of collaborative software development on GitHub. They allow developers to propose changes, review code, and discuss improvements before integrating new code into a project. This guide will walk you through the process of creating a pull request in GitHub, ensuring
    3 min read
    How to Create Pull Request on GitHub Without Using any IDE?
    Creating a pull request (PR) on GitHub is an important part of collaborative software development. It allows you to propose changes to a project, which can then be reviewed and merged by other contributors. You don't need an Integrated Development Environment (IDE) to create a pull request. In this
    2 min read
    How to Create a Pull Request on GitHub using Android Studio?
    Creating a pull request is an important part of collaborating on projects hosted on GitHub. It allows you to propose changes to a repository, enabling others to review, discuss, and merge your changes. Here’s a step-by-step guide on how to create a pull request on GitHub using Android Studio. Steps
    2 min read
    How to Contribute to Open Source Projects on GitHub?
    Contributing to open-source projects is an excellent way to improve your skills, gain experience, and give back to the developer community. GitHub, the largest platform for open-source collaboration, makes it easy to contribute to projects, whether you're fixing bugs, adding features, or improving d
    8 min read
    How GitHub Sponsors Support Open Source Projects?
    Open-source software has become a foundation of modern technology, driving innovation and powering everything from small personal projects to large-scale enterprise solutions. While open source relies on the contributions of developers worldwide, sustaining these projects financially can be challeng
    7 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences