SlideShare a Scribd company logo
GIT & GITHUB
Advance Workshop
(An extension of Extra Bit with Git held on 21st Sep 16)
Brief Recall
WHAT IS GIT
● Git is a free and distributed version control and source
code management system with an emphasis on speed
and efficiency.
WHAT IS GITHUB
● Github is a web based Git repository hosting service which
offers all version control functionality of git and adds
some features of its own.
Basic Workflow
● Initializing a directory as Git Repo:
○ git init
● Creating a repo on github online:
○ Visit www.github.com
● Linking working directory to github repo:
○ git remote add origin http://github.com/username/reponame
● Updating local repository :
○ git pull
Basic Workflow
● Adding changes to staging area:
○ git add .
● Taking Backup in form of snapshots:
○ git commit -m “message”
● Publishing the commits to github
○ git push origin master
Tip: You can also clone a repo and make changes instead of using git init
git clone github_repo_url
Contribution to Open Source
A great way to get involved in open source is to contribute to
the existing projects based on your skills and interests. Git
Hub is home to more than 5 million open source projects of
every skill set like recipes, HTML/CSS, Ruby, Astrophysics
and many more.
Workflow
● Find a project.
● Go through Documentation.
● Fork and Clone the repository.
● Make necessary changes.
● Create an issue(Optional).
● Open Pull Request.
If your pull request is merged-great! If it is not, it may not be what project manager
had in mind.
Find a Project
We have a test repo for you to work on.
Search for “gdgtestrepo” in search bar and open the repository
Fork a Repo
A fork is a copy of repository. Forking other’s repository allows you to freely
experiment with changes without affecting the original project.
Creating an issue
Create an Issue and tell the owner that you would like to work on the issue.
Pull Request
Create a pull request to propose and collaborate on changes to a repository.
These changes are proposed in a branch, which ensures that the master branch
only contains finished and approved work.
Merge
The owner of the repo reviews your code and merges it if he
finds it suitable for his project.
Basics of Branching
When you're working on a project, you're going to have a
bunch of different features or ideas in progress at any given
time – some of which are ready to go, and others which are
not. Branching exists to help you manage this workflow.
You're free to experiment and commit changes in branches
other than master branch safely.
Create a Branch
git checkout -b feature_x
Add Commits
Add, Edit or delete a file and commit
Open a Pull Request
Discuss and Review your Code
Deploy (Test your feature)
Merge
A Website hosting platform
There is something interesting for you guys!!!
You all know basic HTML (build a simple website) but what if you get a platform to
host your site. Github provides one.
When you create a repository named username.github.io and add your html
content, Github automatically publishes your website.
Ex. microsoft.github.io
Questions Please
Your Feedback are Important to us: gdgjss.in/?p=751
Ad

More Related Content

What's hot (20)

HacktoberFest-Git&GitHub
HacktoberFest-Git&GitHubHacktoberFest-Git&GitHub
HacktoberFest-Git&GitHub
GDSCIIITBbsr
 
How to install and use git
How to install and  use gitHow to install and  use git
How to install and use git
Faysal Hossain Shezan
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
Rick Umali
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT
 
Github
GithubGithub
Github
IFEDAYO ADEYEMI
 
Git n git hub
Git n git hubGit n git hub
Git n git hub
Jiwon Baek
 
Git presentation
Git presentationGit presentation
Git presentation
Sai Kumar Satapathy
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
Yan Vugenfirer
 
Git 101 Workshop
Git 101 WorkshopGit 101 Workshop
Git 101 Workshop
Joy Seng
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
KMS Technology
 
Github Case Study By Amil Ali
Github Case Study By Amil AliGithub Case Study By Amil Ali
Github Case Study By Amil Ali
AmilAli1
 
Git & Github
Git & GithubGit & Github
Git & Github
Aman Lalpuria
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Omar Fathy
 
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
Prachitibhukan
 
Git presentation
Git presentationGit presentation
Git presentation
Vikas Yaligar
 
Git tutorial
Git tutorial Git tutorial
Git tutorial
TingYen Lee
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflows
Arthur Shvetsov
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
Git and Github Session
Git and Github SessionGit and Github Session
Git and Github Session
GoogleDevelopersStud1
 
Web Programming - Git basics
Web Programming - Git basicsWeb Programming - Git basics
Web Programming - Git basics
Ömer Taşkın
 
HacktoberFest-Git&GitHub
HacktoberFest-Git&GitHubHacktoberFest-Git&GitHub
HacktoberFest-Git&GitHub
GDSCIIITBbsr
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
Rick Umali
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT
 
Git 101 Workshop
Git 101 WorkshopGit 101 Workshop
Git 101 Workshop
Joy Seng
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
KMS Technology
 
Github Case Study By Amil Ali
Github Case Study By Amil AliGithub Case Study By Amil Ali
Github Case Study By Amil Ali
AmilAli1
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Omar Fathy
 
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
Prachitibhukan
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflows
Arthur Shvetsov
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
Web Programming - Git basics
Web Programming - Git basicsWeb Programming - Git basics
Web Programming - Git basics
Ömer Taşkın
 

Similar to Advance workshop on git (20)

Get Git with It! A Developer's Workshop.pptx
Get Git with It! A Developer's Workshop.pptxGet Git with It! A Developer's Workshop.pptx
Get Git with It! A Developer's Workshop.pptx
Google Developer Students Clubs - CTU
 
GitHub and Open Source - GDGoC MIT Anna University
GitHub and Open Source - GDGoC MIT Anna UniversityGitHub and Open Source - GDGoC MIT Anna University
GitHub and Open Source - GDGoC MIT Anna University
mitgdsc
 
Understanding Github and Version Control System.pptx
Understanding Github and Version Control System.pptxUnderstanding Github and Version Control System.pptx
Understanding Github and Version Control System.pptx
AdebisiJoe
 
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
Google Developer Students Clubs - CTU
 
Questions and Answers git and github.pdf
Questions and Answers git and github.pdfQuestions and Answers git and github.pdf
Questions and Answers git and github.pdf
ramu56565454
 
GITHUB
GITHUBGITHUB
GITHUB
rajeshwari5317
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab Introduction
Krunal Doshi
 
Introductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kabIntroductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kab
makobisimon
 
Top 1 Sites To Buy Github Accounts In 2025
Top 1 Sites To Buy Github Accounts In 2025Top 1 Sites To Buy Github Accounts In 2025
Top 1 Sites To Buy Github Accounts In 2025
ladyjexe
 
Buy GitHub Account- 100% Secure Guarantee
Buy GitHub Account- 100% Secure GuaranteeBuy GitHub Account- 100% Secure Guarantee
Buy GitHub Account- 100% Secure Guarantee
Buy Twitch Account
 
Buy GitHub Account with 5% discount now In 2025
Buy GitHub Account with 5% discount now In 2025Buy GitHub Account with 5% discount now In 2025
Buy GitHub Account with 5% discount now In 2025
bsmmpva
 
Version Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptxVersion Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptx
ChayapathiAR
 
Git, github and the hacktober fest
Git, github and the hacktober festGit, github and the hacktober fest
Git, github and the hacktober fest
UtkarshRaj83
 
GDSC Git event 2023.pptx
GDSC Git event 2023.pptxGDSC Git event 2023.pptx
GDSC Git event 2023.pptx
fsxflyer789Productio
 
database.pptx
database.pptxdatabase.pptx
database.pptx
Database110
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
Collaborative development with Git | Workshop
Collaborative development with Git | WorkshopCollaborative development with Git | Workshop
Collaborative development with Git | Workshop
Anuchit Chalothorn
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
Git
GitGit
Git
Amjad Mahfoud
 
GitHub and Open Source - GDGoC MIT Anna University
GitHub and Open Source - GDGoC MIT Anna UniversityGitHub and Open Source - GDGoC MIT Anna University
GitHub and Open Source - GDGoC MIT Anna University
mitgdsc
 
Understanding Github and Version Control System.pptx
Understanding Github and Version Control System.pptxUnderstanding Github and Version Control System.pptx
Understanding Github and Version Control System.pptx
AdebisiJoe
 
Questions and Answers git and github.pdf
Questions and Answers git and github.pdfQuestions and Answers git and github.pdf
Questions and Answers git and github.pdf
ramu56565454
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab Introduction
Krunal Doshi
 
Introductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kabIntroductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kab
makobisimon
 
Top 1 Sites To Buy Github Accounts In 2025
Top 1 Sites To Buy Github Accounts In 2025Top 1 Sites To Buy Github Accounts In 2025
Top 1 Sites To Buy Github Accounts In 2025
ladyjexe
 
Buy GitHub Account- 100% Secure Guarantee
Buy GitHub Account- 100% Secure GuaranteeBuy GitHub Account- 100% Secure Guarantee
Buy GitHub Account- 100% Secure Guarantee
Buy Twitch Account
 
Buy GitHub Account with 5% discount now In 2025
Buy GitHub Account with 5% discount now In 2025Buy GitHub Account with 5% discount now In 2025
Buy GitHub Account with 5% discount now In 2025
bsmmpva
 
Version Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptxVersion Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptx
ChayapathiAR
 
Git, github and the hacktober fest
Git, github and the hacktober festGit, github and the hacktober fest
Git, github and the hacktober fest
UtkarshRaj83
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
Collaborative development with Git | Workshop
Collaborative development with Git | WorkshopCollaborative development with Git | Workshop
Collaborative development with Git | Workshop
Anuchit Chalothorn
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
Ad

Recently uploaded (20)

Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
GDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptxGDGLSPGCOER - Git and GitHub Workshop.pptx
GDGLSPGCOER - Git and GitHub Workshop.pptx
azeenhodekar
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Ad

Advance workshop on git

  • 1. GIT & GITHUB Advance Workshop (An extension of Extra Bit with Git held on 21st Sep 16)
  • 2. Brief Recall WHAT IS GIT ● Git is a free and distributed version control and source code management system with an emphasis on speed and efficiency. WHAT IS GITHUB ● Github is a web based Git repository hosting service which offers all version control functionality of git and adds some features of its own.
  • 3. Basic Workflow ● Initializing a directory as Git Repo: ○ git init ● Creating a repo on github online: ○ Visit www.github.com ● Linking working directory to github repo: ○ git remote add origin http://github.com/username/reponame ● Updating local repository : ○ git pull
  • 4. Basic Workflow ● Adding changes to staging area: ○ git add . ● Taking Backup in form of snapshots: ○ git commit -m “message” ● Publishing the commits to github ○ git push origin master Tip: You can also clone a repo and make changes instead of using git init git clone github_repo_url
  • 5. Contribution to Open Source A great way to get involved in open source is to contribute to the existing projects based on your skills and interests. Git Hub is home to more than 5 million open source projects of every skill set like recipes, HTML/CSS, Ruby, Astrophysics and many more.
  • 6. Workflow ● Find a project. ● Go through Documentation. ● Fork and Clone the repository. ● Make necessary changes. ● Create an issue(Optional). ● Open Pull Request. If your pull request is merged-great! If it is not, it may not be what project manager had in mind.
  • 7. Find a Project We have a test repo for you to work on. Search for “gdgtestrepo” in search bar and open the repository
  • 8. Fork a Repo A fork is a copy of repository. Forking other’s repository allows you to freely experiment with changes without affecting the original project.
  • 9. Creating an issue Create an Issue and tell the owner that you would like to work on the issue.
  • 10. Pull Request Create a pull request to propose and collaborate on changes to a repository. These changes are proposed in a branch, which ensures that the master branch only contains finished and approved work.
  • 11. Merge The owner of the repo reviews your code and merges it if he finds it suitable for his project.
  • 12. Basics of Branching When you're working on a project, you're going to have a bunch of different features or ideas in progress at any given time – some of which are ready to go, and others which are not. Branching exists to help you manage this workflow. You're free to experiment and commit changes in branches other than master branch safely.
  • 13. Create a Branch git checkout -b feature_x
  • 14. Add Commits Add, Edit or delete a file and commit
  • 15. Open a Pull Request
  • 16. Discuss and Review your Code
  • 17. Deploy (Test your feature)
  • 18. Merge
  • 19. A Website hosting platform There is something interesting for you guys!!! You all know basic HTML (build a simple website) but what if you get a platform to host your site. Github provides one. When you create a repository named username.github.io and add your html content, Github automatically publishes your website. Ex. microsoft.github.io
  • 20. Questions Please Your Feedback are Important to us: gdgjss.in/?p=751