SlideShare una empresa de Scribd logo
1 de 21
No. 1September 27, 2013
Collaborative development with Git
Vimal Joseph
Technical Architect
No. 2September 27, 2013
Collaborative development with Git
Tracking Changes
User A
User B
D1
D1
Time
D1 D1.1 D1.2 D1.3
No. 3September 27, 2013
Collaborative development with Git
Tracking changes in a document with OpenOffice Writer
No. 4September 27, 2013
Collaborative development with Git
What about developing a software project?
Developer A
Project
Repository
S/w
Developer B
No. 5September 27, 2013
Collaborative development with Git
what about developing a software project?
Developer A
Project
Repository
S/w
User A User D
Developer B
No. 6September 27, 2013
Collaborative development with Git
How about developing a software project?
Developer A
Project
Repository
S/w
User A
User D
BUG
Developer B
No. 7September 27, 2013
Collaborative development with Git
what about developing a software project?
Developer A Project
Repository
S/w
User A
User D
Developer B
Fixed Code
(patch)
No. 8September 27, 2013
Collaborative development with Git
what about developing a software project?
Developer A Project Repository
S/w 1.1
User A
User DFixed Code
(patch)
apply
Developer B
No. 9September 27, 2013
Collaborative development with Git
Softwares for Version Control
• Source Code Control System (SCCS)
• CVS
• Subversion (svn)
• Mercurial
• Bazaar
• Git
• Etc...
No. 10September 27, 2013
Collaborative development with Git
Git
• Developers : Junio Hamano and Linus Torvalds and several other people
• Website : http://git-scm.com/
• Linus Torvalds started its development on April 2005
• Distributed Version Control System
No. 11September 27, 2013
Collaborative development with Git
Distributed Version Control System
No. 12September 27, 2013
Collaborative development with Git
Let's Start the Git
• Introduce yourself to git
– git config –global user.name “Vimal Joseph”
– git config –global user.email “vimal.joseph@zyxware.com”
• Add some colour
– git config –global color.ui true
• Now your global configuration file is ready. You can check that at ~/.gitconfig
No. 13September 27, 2013
Collaborative development with Git
Git Repository
• Create a git repository
– mkdir your-directory-name
– git init
• Add initial files to the git repository
– git add file1 file2
• Commit changes
– git commit
– (it will ask you to enter a comment)
• Log and status
– git log
– git status
• Help
– git help
No. 14September 27, 2013
Collaborative development with Git
Structure of Git
No. 15September 27, 2013
Collaborative development with Git
Head, Branches, Tags
No. 16September 27, 2013
Collaborative development with Git
Branching, Merging and tagging
• Create new branch and switch to it
– git branch name-of-branch
– git checkout name-of-branch
• Merge branches
– git merge name-of-branch-to-merge-with-current-branch
– Merge conflicts should be resolved manually
• Tagging
– git tag tag-name
– It will create a tag in the current git object pointed by the HEAD
No. 17September 27, 2013
Collaborative development with Git
Working with remote repositaries
• Add a remote repository
– git remote add origin url-of-remote-repository
• Push Pull
– git pull
– Pull the remote branch to the local branch
– git push origin master
– Push the change to the remote branch
No. 18September 27, 2013
Collaborative development with Git
Patching
• Branch
– git checkout -b fix_the_bug
• Create a patch
– git format-patch master --stdout > fix_the_bug.patch
• Applying the patch
– git apply --stat fix_empty_poster.patch
– git apply --check fix_empty_poster.patch
No. 19September 27, 2013
Collaborative development with Git
Working with remote repositaries
• Add a remote repository
– git remote add origin url-of-remote-repository
• Push Pull
– git pull
– Pull the remote branch to the local branch
– git push origin master
– Push the change to the remote branch
No. 20September 27, 2013
Collaborative development with Git
On-line git hosting
• http://gitorious.org/
• http://github.com
• Gitolite
No. 21September 27, 2013
Collaborative development with Git
Thanks...
• http://git-scm.com/documentation
• questions??
vimal.joseph@zyxware.com
Zyxware Technologies

Más contenido relacionado

La actualidad más candente

You tube api overview
You tube api overviewYou tube api overview
You tube api overviewfirenze-gtug
 
Goのパッケージ管理 @Go合宿2018
Goのパッケージ管理 @Go合宿2018Goのパッケージ管理 @Go合宿2018
Goのパッケージ管理 @Go合宿2018jumpei chikamori
 
Git in 10 minutes (WordCamp London 2018)
Git in 10 minutes (WordCamp London 2018)Git in 10 minutes (WordCamp London 2018)
Git in 10 minutes (WordCamp London 2018)Borek Bernard
 
Contribution Day Guide - MM19JP
Contribution Day Guide - MM19JPContribution Day Guide - MM19JP
Contribution Day Guide - MM19JPOleksii Korshenko
 
Workshop Gitogether Intermediate
Workshop Gitogether IntermediateWorkshop Gitogether Intermediate
Workshop Gitogether IntermediateFikiAlamsyah
 
Git study notes
Git study notesGit study notes
Git study notesAngus Li
 
Running a Project with Github
Running a Project with GithubRunning a Project with Github
Running a Project with GithubLorna Mitchell
 
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23msohn
 
Git Going w/ Git
Git Going w/ GitGit Going w/ Git
Git Going w/ GitheyMP
 
You can git
You can gitYou can git
You can gitYu GUAN
 
Gerrit Code Review Analytics
Gerrit Code Review AnalyticsGerrit Code Review Analytics
Gerrit Code Review AnalyticsLuca Milanesio
 

La actualidad más candente (20)

Git and GitHub for RallyOn
Git and GitHub for RallyOnGit and GitHub for RallyOn
Git and GitHub for RallyOn
 
You tube api overview
You tube api overviewYou tube api overview
You tube api overview
 
Goのパッケージ管理 @Go合宿2018
Goのパッケージ管理 @Go合宿2018Goのパッケージ管理 @Go合宿2018
Goのパッケージ管理 @Go合宿2018
 
Git in 10 minutes (WordCamp London 2018)
Git in 10 minutes (WordCamp London 2018)Git in 10 minutes (WordCamp London 2018)
Git in 10 minutes (WordCamp London 2018)
 
Git kelvin
Git   kelvinGit   kelvin
Git kelvin
 
Introduction To Git
Introduction To GitIntroduction To Git
Introduction To Git
 
GitHub Introduction
GitHub IntroductionGitHub Introduction
GitHub Introduction
 
Contribution Day Guide - MM19JP
Contribution Day Guide - MM19JPContribution Day Guide - MM19JP
Contribution Day Guide - MM19JP
 
Workshop Gitogether Intermediate
Workshop Gitogether IntermediateWorkshop Gitogether Intermediate
Workshop Gitogether Intermediate
 
Git basics
Git basicsGit basics
Git basics
 
Git study notes
Git study notesGit study notes
Git study notes
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Running a Project with Github
Running a Project with GithubRunning a Project with Github
Running a Project with Github
 
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
 
Git Going w/ Git
Git Going w/ GitGit Going w/ Git
Git Going w/ Git
 
Git
GitGit
Git
 
Git Demo
Git DemoGit Demo
Git Demo
 
You can git
You can gitYou can git
You can git
 
Introduction GIT
Introduction GITIntroduction GIT
Introduction GIT
 
Gerrit Code Review Analytics
Gerrit Code Review AnalyticsGerrit Code Review Analytics
Gerrit Code Review Analytics
 

Similar a Collaborative development using git, Session conducted at Model Engineering College, Ernakulam on 2013-09-26

Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and GithubWycliff1
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GITGhadiAlGhosh
 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentalsRajKharvar
 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucketMedhat Dawoud
 
Introducing Git and git flow
Introducing Git and git flow Introducing Git and git flow
Introducing Git and git flow Sebin Benjamin
 
Workflows using Git GitHub | Edureka
Workflows using Git GitHub | EdurekaWorkflows using Git GitHub | Edureka
Workflows using Git GitHub | EdurekaEdureka!
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.WordCamp Harare
 

Similar a Collaborative development using git, Session conducted at Model Engineering College, Ernakulam on 2013-09-26 (20)

Git hub visualstudiocode
Git hub visualstudiocodeGit hub visualstudiocode
Git hub visualstudiocode
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentals
 
16 Git
16 Git16 Git
16 Git
 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucket
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
 
Introducing Git and git flow
Introducing Git and git flow Introducing Git and git flow
Introducing Git and git flow
 
GIT from n00b
GIT from n00bGIT from n00b
GIT from n00b
 
Workflows using Git GitHub | Edureka
Workflows using Git GitHub | EdurekaWorkflows using Git GitHub | Edureka
Workflows using Git GitHub | Edureka
 
14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx
 
Advance workshop on git
Advance workshop on gitAdvance workshop on git
Advance workshop on git
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.
 
Do you git it
Do you git it Do you git it
Do you git it
 
Git_Git_Lab_1664715263.pdf
Git_Git_Lab_1664715263.pdfGit_Git_Lab_1664715263.pdf
Git_Git_Lab_1664715263.pdf
 
Techoalien git
Techoalien gitTechoalien git
Techoalien git
 
Techoalien git
Techoalien gitTechoalien git
Techoalien git
 
Techoalien git
Techoalien gitTechoalien git
Techoalien git
 

Más de Zyxware Technologies

Google Docs - Leverage the power of collaboration with shared documents
Google Docs - Leverage the power of collaboration with shared documentsGoogle Docs - Leverage the power of collaboration with shared documents
Google Docs - Leverage the power of collaboration with shared documentsZyxware Technologies
 
CETAA Vision 2025 - Making CETAA the best alumni association in India
CETAA Vision 2025 - Making CETAA the best alumni association in IndiaCETAA Vision 2025 - Making CETAA the best alumni association in India
CETAA Vision 2025 - Making CETAA the best alumni association in IndiaZyxware Technologies
 
Come, build your career at Zyxware Technologies
Come, build your career at Zyxware TechnologiesCome, build your career at Zyxware Technologies
Come, build your career at Zyxware TechnologiesZyxware Technologies
 
Personalized customer experience using ecommerce portal
Personalized customer experience using ecommerce portalPersonalized customer experience using ecommerce portal
Personalized customer experience using ecommerce portalZyxware Technologies
 
Web Application Performance Audit and Optimization
Web Application Performance Audit and OptimizationWeb Application Performance Audit and Optimization
Web Application Performance Audit and OptimizationZyxware Technologies
 
Setting in place a product development strategy
Setting in place a product development strategySetting in place a product development strategy
Setting in place a product development strategyZyxware Technologies
 
Debugging Drupal - How to Debug your Drupal Application
Debugging Drupal - How to Debug your Drupal ApplicationDebugging Drupal - How to Debug your Drupal Application
Debugging Drupal - How to Debug your Drupal ApplicationZyxware Technologies
 
Drupal Performance Audit and Optimization
Drupal Performance Audit and OptimizationDrupal Performance Audit and Optimization
Drupal Performance Audit and OptimizationZyxware Technologies
 
Drupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupal as a Rapid Application Development Framework for Non Profits / NGOsDrupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupal as a Rapid Application Development Framework for Non Profits / NGOsZyxware Technologies
 
An introduction to cyber forensics and open source tools in cyber forensics
An introduction to cyber forensics and open source tools in cyber forensicsAn introduction to cyber forensics and open source tools in cyber forensics
An introduction to cyber forensics and open source tools in cyber forensicsZyxware Technologies
 
Exploring Wider Collaboration Mechanisms in the Drupal Space
Exploring Wider Collaboration Mechanisms in the Drupal SpaceExploring Wider Collaboration Mechanisms in the Drupal Space
Exploring Wider Collaboration Mechanisms in the Drupal SpaceZyxware Technologies
 
The art of communication - managing digital communication
The art of communication - managing digital communicationThe art of communication - managing digital communication
The art of communication - managing digital communicationZyxware Technologies
 
Code quality - aesthetics & functionality of writing beautiful code
Code quality - aesthetics & functionality of writing beautiful codeCode quality - aesthetics & functionality of writing beautiful code
Code quality - aesthetics & functionality of writing beautiful codeZyxware Technologies
 
Drupal ecosystem in India and Drupal's market potential in India
Drupal ecosystem in India and Drupal's market potential in IndiaDrupal ecosystem in India and Drupal's market potential in India
Drupal ecosystem in India and Drupal's market potential in IndiaZyxware Technologies
 
Drupal as a Rapid Application Development (RAD) Framework for Startups
Drupal as a Rapid Application Development (RAD) Framework for StartupsDrupal as a Rapid Application Development (RAD) Framework for Startups
Drupal as a Rapid Application Development (RAD) Framework for StartupsZyxware Technologies
 
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26Zyxware Technologies
 
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...Zyxware Technologies
 
ICFOSS Interaction with Small and Medium Enterprises on IT Enabling SMEs with...
ICFOSS Interaction with Small and Medium Enterprises on IT Enabling SMEs with...ICFOSS Interaction with Small and Medium Enterprises on IT Enabling SMEs with...
ICFOSS Interaction with Small and Medium Enterprises on IT Enabling SMEs with...Zyxware Technologies
 

Más de Zyxware Technologies (20)

Google Docs - Leverage the power of collaboration with shared documents
Google Docs - Leverage the power of collaboration with shared documentsGoogle Docs - Leverage the power of collaboration with shared documents
Google Docs - Leverage the power of collaboration with shared documents
 
CETAA Vision 2025 - Making CETAA the best alumni association in India
CETAA Vision 2025 - Making CETAA the best alumni association in IndiaCETAA Vision 2025 - Making CETAA the best alumni association in India
CETAA Vision 2025 - Making CETAA the best alumni association in India
 
Learn Drupal 8 Render Pipeline
Learn Drupal 8 Render PipelineLearn Drupal 8 Render Pipeline
Learn Drupal 8 Render Pipeline
 
Come, build your career at Zyxware Technologies
Come, build your career at Zyxware TechnologiesCome, build your career at Zyxware Technologies
Come, build your career at Zyxware Technologies
 
Personalized customer experience using ecommerce portal
Personalized customer experience using ecommerce portalPersonalized customer experience using ecommerce portal
Personalized customer experience using ecommerce portal
 
Web Application Performance Audit and Optimization
Web Application Performance Audit and OptimizationWeb Application Performance Audit and Optimization
Web Application Performance Audit and Optimization
 
Drupal is taking over Australia
Drupal is taking over AustraliaDrupal is taking over Australia
Drupal is taking over Australia
 
Setting in place a product development strategy
Setting in place a product development strategySetting in place a product development strategy
Setting in place a product development strategy
 
Debugging Drupal - How to Debug your Drupal Application
Debugging Drupal - How to Debug your Drupal ApplicationDebugging Drupal - How to Debug your Drupal Application
Debugging Drupal - How to Debug your Drupal Application
 
Drupal Performance Audit and Optimization
Drupal Performance Audit and OptimizationDrupal Performance Audit and Optimization
Drupal Performance Audit and Optimization
 
Drupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupal as a Rapid Application Development Framework for Non Profits / NGOsDrupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupal as a Rapid Application Development Framework for Non Profits / NGOs
 
An introduction to cyber forensics and open source tools in cyber forensics
An introduction to cyber forensics and open source tools in cyber forensicsAn introduction to cyber forensics and open source tools in cyber forensics
An introduction to cyber forensics and open source tools in cyber forensics
 
Exploring Wider Collaboration Mechanisms in the Drupal Space
Exploring Wider Collaboration Mechanisms in the Drupal SpaceExploring Wider Collaboration Mechanisms in the Drupal Space
Exploring Wider Collaboration Mechanisms in the Drupal Space
 
The art of communication - managing digital communication
The art of communication - managing digital communicationThe art of communication - managing digital communication
The art of communication - managing digital communication
 
Code quality - aesthetics & functionality of writing beautiful code
Code quality - aesthetics & functionality of writing beautiful codeCode quality - aesthetics & functionality of writing beautiful code
Code quality - aesthetics & functionality of writing beautiful code
 
Drupal ecosystem in India and Drupal's market potential in India
Drupal ecosystem in India and Drupal's market potential in IndiaDrupal ecosystem in India and Drupal's market potential in India
Drupal ecosystem in India and Drupal's market potential in India
 
Drupal as a Rapid Application Development (RAD) Framework for Startups
Drupal as a Rapid Application Development (RAD) Framework for StartupsDrupal as a Rapid Application Development (RAD) Framework for Startups
Drupal as a Rapid Application Development (RAD) Framework for Startups
 
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26
Introduction to Drupal, Training conducted at MES-AIMAT, Aluva on 2013-09-26
 
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
Introduction to Bash Scripting, Zyxware Technologies, CSI Students Convention...
 
ICFOSS Interaction with Small and Medium Enterprises on IT Enabling SMEs with...
ICFOSS Interaction with Small and Medium Enterprises on IT Enabling SMEs with...ICFOSS Interaction with Small and Medium Enterprises on IT Enabling SMEs with...
ICFOSS Interaction with Small and Medium Enterprises on IT Enabling SMEs with...
 

Último

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Último (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Collaborative development using git, Session conducted at Model Engineering College, Ernakulam on 2013-09-26

  • 1. No. 1September 27, 2013 Collaborative development with Git Vimal Joseph Technical Architect
  • 2. No. 2September 27, 2013 Collaborative development with Git Tracking Changes User A User B D1 D1 Time D1 D1.1 D1.2 D1.3
  • 3. No. 3September 27, 2013 Collaborative development with Git Tracking changes in a document with OpenOffice Writer
  • 4. No. 4September 27, 2013 Collaborative development with Git What about developing a software project? Developer A Project Repository S/w Developer B
  • 5. No. 5September 27, 2013 Collaborative development with Git what about developing a software project? Developer A Project Repository S/w User A User D Developer B
  • 6. No. 6September 27, 2013 Collaborative development with Git How about developing a software project? Developer A Project Repository S/w User A User D BUG Developer B
  • 7. No. 7September 27, 2013 Collaborative development with Git what about developing a software project? Developer A Project Repository S/w User A User D Developer B Fixed Code (patch)
  • 8. No. 8September 27, 2013 Collaborative development with Git what about developing a software project? Developer A Project Repository S/w 1.1 User A User DFixed Code (patch) apply Developer B
  • 9. No. 9September 27, 2013 Collaborative development with Git Softwares for Version Control • Source Code Control System (SCCS) • CVS • Subversion (svn) • Mercurial • Bazaar • Git • Etc...
  • 10. No. 10September 27, 2013 Collaborative development with Git Git • Developers : Junio Hamano and Linus Torvalds and several other people • Website : http://git-scm.com/ • Linus Torvalds started its development on April 2005 • Distributed Version Control System
  • 11. No. 11September 27, 2013 Collaborative development with Git Distributed Version Control System
  • 12. No. 12September 27, 2013 Collaborative development with Git Let's Start the Git • Introduce yourself to git – git config –global user.name “Vimal Joseph” – git config –global user.email “vimal.joseph@zyxware.com” • Add some colour – git config –global color.ui true • Now your global configuration file is ready. You can check that at ~/.gitconfig
  • 13. No. 13September 27, 2013 Collaborative development with Git Git Repository • Create a git repository – mkdir your-directory-name – git init • Add initial files to the git repository – git add file1 file2 • Commit changes – git commit – (it will ask you to enter a comment) • Log and status – git log – git status • Help – git help
  • 14. No. 14September 27, 2013 Collaborative development with Git Structure of Git
  • 15. No. 15September 27, 2013 Collaborative development with Git Head, Branches, Tags
  • 16. No. 16September 27, 2013 Collaborative development with Git Branching, Merging and tagging • Create new branch and switch to it – git branch name-of-branch – git checkout name-of-branch • Merge branches – git merge name-of-branch-to-merge-with-current-branch – Merge conflicts should be resolved manually • Tagging – git tag tag-name – It will create a tag in the current git object pointed by the HEAD
  • 17. No. 17September 27, 2013 Collaborative development with Git Working with remote repositaries • Add a remote repository – git remote add origin url-of-remote-repository • Push Pull – git pull – Pull the remote branch to the local branch – git push origin master – Push the change to the remote branch
  • 18. No. 18September 27, 2013 Collaborative development with Git Patching • Branch – git checkout -b fix_the_bug • Create a patch – git format-patch master --stdout > fix_the_bug.patch • Applying the patch – git apply --stat fix_empty_poster.patch – git apply --check fix_empty_poster.patch
  • 19. No. 19September 27, 2013 Collaborative development with Git Working with remote repositaries • Add a remote repository – git remote add origin url-of-remote-repository • Push Pull – git pull – Pull the remote branch to the local branch – git push origin master – Push the change to the remote branch
  • 20. No. 20September 27, 2013 Collaborative development with Git On-line git hosting • http://gitorious.org/ • http://github.com • Gitolite
  • 21. No. 21September 27, 2013 Collaborative development with Git Thanks... • http://git-scm.com/documentation • questions?? vimal.joseph@zyxware.com Zyxware Technologies

Notas del editor

  1. Note Page by Willem van der Plaat