Unit 3
Unit 3
GitHub
GitHub
GitHub is the largest open-source platform, hosting millions of
repositories.
Explore Section
Search by Technology
Unit 3 1
Use https://github.com/search?q=keyword .
Use tags like good first issue , help wanted to find beginner-friendly
projects.
How GitHub Trending Works
The Trending page highlights repositories based on :
Stars
Forks
Recent Activity
Timeframe Filters
Visit https://github.com/trending .
Filter by Timeframe
engagement.
Unit 3 2
Filter by Language
README file
Report Bugs
Request Features
Ask Questions
Organize Tasks
Unit 3 3
Each issue can have a title, description, labels, assignees, and
comments, facilitating organized and transparent collaboration.
They are quick to create, flexible, and can be used in many ways.
They can track bug reports, new features and ideas, and anything
else you need to write down or discuss with your team.
You can also break your work down further by adding sub-issues and
easily browse the full hierarchy of work to be done.
Prerequisites of Issues
To create an issue, you need a repository.
You can use an existing repository that you have write access to,
or you can create a new repository.
At the top, you’ll find tabs indicating the number of open and
closes issues.
Sorting
Unit 3 4
Common labels include :
bug
enhancement
B : Accessibility
Following Up
Unit 3 5
Issue Labels in FreeTube
B : text/string
U : reproduced
bug
Click on the Issues tab located near the top of the page.
New Issue
Fill in Details
Submit
Unit 3 6
Click Submit new Issue to post it.
Step by Step
Opening a Blank Issues
Create an issue.
Filling in Information
Adding Labels
Users can filter issues by labels to find all issues that have a
specific label.
You can use the default labels, or you can create a new label.
Adding Milestones
Communicating
Unit 3 7
Continue the conversation by adding comments to the issue.
Creating an Issue with GitHub CLI
GitHub CLI is an open source tool for using GitHub from your
computer’s command line.
To create an issue :
gh issue create --title "My new Issue" --body "Here are more
details."
gh issue create --title "My new Issue" --body "Here are more
details." --assignee @me, monalisa --label "bug,help wanted"
--project onboarding --milestone "learning codebase"
Use the Repository dropdown menu, and select the repository you
want to open the issue in.
This helps confirm that the bug exists and allows developers to
understand the issue better.
It helps :
Unit 3 8
Ensures it’s not a one-time glitch.
Assists in Fixing It
Unit 3 9
Review comments and discussions.
Workflow of a PR in Open Source
Fork the Repository
git add .
git commit -m "Added new feature"
Unit 3 10
If changes are requires, the contributor updates the PR.
Fixes #123
Unit 3 11