SlideShare une entreprise Scribd logo
1  sur  32
INTRO TO
HACKTOBERFEST
Getting started with
opensource..
WHAT IS ?
Git is a free and open source distributed version
control system designed to handle everything from
small to very large projects with speed and
efficiency.
• track changes made to your project
• create different branches
• Go back to a specific version of the tracked files
• and much more....
Git
comands
$ git commit
$ git status
$ git add
$ git init
$ git init
$ git init <directory>
> git init
★git init turns any directory into a Git
repository.
$ git add <filename>
> git add $ git add .
$ git add -p
★The git add command adds new or
changed files in your working
directory to the Git staging area.
$ git status
> git status
git status shows the current state of
your Git working directory and staging
area.
★The git add command adds new or
changed files in your working
directory to the Git staging area.
$ git commit -m "commit message"
> git commit $ git commit -am "commit message"
$ git commit --amend -m "new message"
★git commit creates a commit, which is
like a snapshot of your repository.
Branches
A branch is a version of the
repository that diverges from the
main working project. It is a feature
available in most modern version
control systems. A Git project can
have more than one branch. These
branches are a pointer to a snapshot
of your changes.
$ git branch
$ git branch -a
$ git checkout <branchname>
$ git merge <branch>
> git merge
Github
GitHub, on the other hand,
is a web-based hosting
service for version control
using Git. It offers all of the
distributed version control
and source code
management functionality
of Git as well as adding
more features for
computer code.
$ git pull
$ git clone
$ git push
$ git remote
Git
comands
$ git remote
> git remote $ git remote add <name> <url>
★git remote manages the set of
remotes that you are tracking with
your local repository.
$ git push <remote> <branch>
> git push
★git push uploads all local branch
commits to the corresponding remote
branch.
$ git pull <remote> <branch>
> git pull
★git pull updates your current local
working branch, and all of the remote
tracking branches.
$ git clone <url>
> git clone
$ git clone --single-branch --branch
<branchname> <url>
★git clone is used to target an existing
repository and create a clone, or copy
of the target repository.
Forking
A fork is a copy of a
repository that you
manage. Forks let you
make changes to a
project without affecting
the original repository.
You can fetch updates
from or submit changes
to the original repository
with pull requests.
Pull request
● A pull request is a method of
submitting contributions to
an open development
project.
● A pull request occurs when
a developer asks for
changes, committed to an
external repository, to be
considered for inclusion in a
project’s main repository.
Issues
● Issues are a great way to
keep track of tasks,
enhancements, and bugs for
your projects.
● Most software projects have
a bug tracker of some kind.
GitHub’s tracker is called
Issues, and has its own
section in every repository.
Opensource
software
what is opensource?
Open source software (OSS) is
software that is distributed with its
source code, making it available for
use, modification, and distribution
with its original rights.
why opensource??🤔
▹Open source software is developed
in a decentralized and collaborative
way, relying on peer review and
community production.
▹Open source software is often
cheaper, more flexible, and has
more longevity than its proprietary
peers because it is developed by
communities rather than a single
author or company.
Hacktoberfest is a month-long
celebration of open source software
run by DigitalOcean. During the entire
month of October, all you have to do is
contribute to any open source
projects and open at least 4 pull
requests. You don’t have to be an
expert in programming or coding. It
can be a be a bug fix, improvement, or
even a documentation change.
>Rules
● Submit 4 pull requests (PR)
between 1st and 31 Oct, to a repo
that has the hacktoberfest tag
● Your PR needs to be merged with
the repo or must be labelled
hacktoberfest-accepted to be
counted
● If a maintainer labels your PR as
spam, it will not be counted.
● If a maintainer reports behavior
that’s not in line with the project’s
code of conduct, you will be
ineligible to participate.
>resources
➢https://github.com/mungell/aw
esome-for-beginners
➢https://up-for-grabs.net/#/
➢https://www.firsttimersonly.co
m
➢http://deepsource.io/discover

Contenu connexe

Tendances

Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and githubAderemi Dadepo
 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHubNishan Bose
 
Github 101 An Adventurer's Guide To Open Source
Github 101   An Adventurer's Guide To Open SourceGithub 101   An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open SourcePrachitibhukan
 
Introducing GitLab (September 2018)
Introducing GitLab (September 2018)Introducing GitLab (September 2018)
Introducing GitLab (September 2018)Noa Harel
 
CodeMontage CodeFlow 1
CodeMontage CodeFlow 1CodeMontage CodeFlow 1
CodeMontage CodeFlow 1CodeMontage
 
Git basics to advance with diagrams
Git basics to advance with diagramsGit basics to advance with diagrams
Git basics to advance with diagramsDilum Navanjana
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewRueful Robin
 
Github Case Study By Amil Ali
Github Case Study By Amil AliGithub Case Study By Amil Ali
Github Case Study By Amil AliAmilAli1
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab IntroductionKrunal Doshi
 
Git strategies for DevOps
Git strategies for DevOpsGit strategies for DevOps
Git strategies for DevOpsAhmad Iqbal Ali
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflowsArthur Shvetsov
 
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productiveKarsten Dambekalns
 

Tendances (20)

GIT By Sivakrishna
GIT By SivakrishnaGIT By Sivakrishna
GIT By Sivakrishna
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
 
Git and Github Session
Git and Github SessionGit and Github Session
Git and Github Session
 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
 
Github 101 An Adventurer's Guide To Open Source
Github 101   An Adventurer's Guide To Open SourceGithub 101   An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
 
Github
GithubGithub
Github
 
Introducing GitLab (September 2018)
Introducing GitLab (September 2018)Introducing GitLab (September 2018)
Introducing GitLab (September 2018)
 
CodeMontage CodeFlow 1
CodeMontage CodeFlow 1CodeMontage CodeFlow 1
CodeMontage CodeFlow 1
 
Git basics to advance with diagrams
Git basics to advance with diagramsGit basics to advance with diagrams
Git basics to advance with diagrams
 
A prentation on github
A prentation on githubA prentation on github
A prentation on github
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Github Case Study By Amil Ali
Github Case Study By Amil AliGithub Case Study By Amil Ali
Github Case Study By Amil Ali
 
Git n git hub
Git n git hubGit n git hub
Git n git hub
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab Introduction
 
Git strategies for DevOps
Git strategies for DevOpsGit strategies for DevOps
Git strategies for DevOps
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflows
 
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productive
 

Similaire à Git, github and the hacktober fest

Similaire à Git, github and the hacktober fest (20)

Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
 
Git and github
Git and githubGit and github
Git and github
 
Git and Github
Git and GithubGit and Github
Git and Github
 
Git & Github
Git & GithubGit & Github
Git & Github
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
 
Git Training
Git TrainingGit Training
Git Training
 
Day 2_ Get Git with It! A Developer's Workshop.pptx
Day 2_ Get Git with It! A Developer's Workshop.pptxDay 2_ Get Git with It! A Developer's Workshop.pptx
Day 2_ Get Git with It! A Developer's Workshop.pptx
 
setting up a repository using GIT
setting up a repository using GITsetting up a repository using GIT
setting up a repository using GIT
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
 
Git github
Git githubGit github
Git github
 
GDSC ZHCET GitHub Session.pdf
GDSC ZHCET GitHub Session.pdfGDSC ZHCET GitHub Session.pdf
GDSC ZHCET GitHub Session.pdf
 
Introduction To Git
Introduction To GitIntroduction To Git
Introduction To Git
 
Gitting better
Gitting betterGitting better
Gitting better
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
 

Dernier

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Dernier (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Git, github and the hacktober fest

  • 3. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. • track changes made to your project • create different branches • Go back to a specific version of the tracked files • and much more....
  • 4. Git comands $ git commit $ git status $ git add $ git init
  • 5.
  • 6. $ git init $ git init <directory> > git init ★git init turns any directory into a Git repository.
  • 7. $ git add <filename> > git add $ git add . $ git add -p ★The git add command adds new or changed files in your working directory to the Git staging area.
  • 8. $ git status > git status git status shows the current state of your Git working directory and staging area. ★The git add command adds new or changed files in your working directory to the Git staging area.
  • 9. $ git commit -m "commit message" > git commit $ git commit -am "commit message" $ git commit --amend -m "new message" ★git commit creates a commit, which is like a snapshot of your repository.
  • 10. Branches A branch is a version of the repository that diverges from the main working project. It is a feature available in most modern version control systems. A Git project can have more than one branch. These branches are a pointer to a snapshot of your changes. $ git branch $ git branch -a $ git checkout <branchname>
  • 11.
  • 12. $ git merge <branch> > git merge
  • 13.
  • 14. Github GitHub, on the other hand, is a web-based hosting service for version control using Git. It offers all of the distributed version control and source code management functionality of Git as well as adding more features for computer code.
  • 15. $ git pull $ git clone $ git push $ git remote Git comands
  • 16. $ git remote > git remote $ git remote add <name> <url> ★git remote manages the set of remotes that you are tracking with your local repository.
  • 17. $ git push <remote> <branch> > git push ★git push uploads all local branch commits to the corresponding remote branch.
  • 18. $ git pull <remote> <branch> > git pull ★git pull updates your current local working branch, and all of the remote tracking branches.
  • 19. $ git clone <url> > git clone $ git clone --single-branch --branch <branchname> <url> ★git clone is used to target an existing repository and create a clone, or copy of the target repository.
  • 20. Forking A fork is a copy of a repository that you manage. Forks let you make changes to a project without affecting the original repository. You can fetch updates from or submit changes to the original repository with pull requests.
  • 21. Pull request ● A pull request is a method of submitting contributions to an open development project. ● A pull request occurs when a developer asks for changes, committed to an external repository, to be considered for inclusion in a project’s main repository.
  • 22. Issues ● Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. ● Most software projects have a bug tracker of some kind. GitHub’s tracker is called Issues, and has its own section in every repository.
  • 23.
  • 25. what is opensource? Open source software (OSS) is software that is distributed with its source code, making it available for use, modification, and distribution with its original rights.
  • 26.
  • 27. why opensource??🤔 ▹Open source software is developed in a decentralized and collaborative way, relying on peer review and community production. ▹Open source software is often cheaper, more flexible, and has more longevity than its proprietary peers because it is developed by communities rather than a single author or company.
  • 28.
  • 29.
  • 30. Hacktoberfest is a month-long celebration of open source software run by DigitalOcean. During the entire month of October, all you have to do is contribute to any open source projects and open at least 4 pull requests. You don’t have to be an expert in programming or coding. It can be a be a bug fix, improvement, or even a documentation change.
  • 31. >Rules ● Submit 4 pull requests (PR) between 1st and 31 Oct, to a repo that has the hacktoberfest tag ● Your PR needs to be merged with the repo or must be labelled hacktoberfest-accepted to be counted ● If a maintainer labels your PR as spam, it will not be counted. ● If a maintainer reports behavior that’s not in line with the project’s code of conduct, you will be ineligible to participate.