SlideShare a Scribd company logo
1 of 12
Version Control
I am Vaidik
A B. Tech. student at Jaypee Institute of
 Information Technology, NOIDA.
A web developer.
A Drupal Contributor.
A Mozilla Student Rep and Contributor.
Twitter: @vaidikkapoor
Github: vaidikkp
What we will talk about?
Version Controlling – The Concept
Distributed VCS vs Centralized VCS
Introduction to Git
Hands-on Git!
More Resources
Version Controlling
What is Version Control?
  A system that is used to record changes to a file or a
    set of files.
Why we need it?
  Keep track of changes that anyone makes to a set of
   files.
  Revert to a particular version of your file (state) if you
   need to so you don't have to remember everything
   you do.
  Compare different states of your file.
Centralized vs. Distributed
Local VCS:
  The project is on your local machine.
  Commits are stored in a local database that keeps
   track of changes.
  Disadvantages:
    No way to collaborate
    Single point-of-failure: if your local machine crashes, all
      your work is lost.
Centralized vs. Distributed
Centralized
  The VCS database is on a server accessible to
    everyone.
  Read/update the latest snapshot of the files from the
   central server.
  Advantages:
     Very easy to collaborate.
     Everyone stays updated with the changes everyone makes.
     A lot more control over files (like who can read/write which
       files, etc.).
  Disadvantages:
Centralized vs. Distributed
Distributed
  The VCS database is on a server accessible to
    everyone.
  Instead of reading/updating the snapshot of files, get
    the whole history of changes.
  Advantages:
     Everybody has everything that is there on the server.
     No single point-of-failure, everybody is happy! :)
  Examples:
     Git, Mercurial, Bazaar, Darcs
Git
A DVCS.
Originally developed by Linus Torvalds for
 version controlling of the Kernel.
Originally a command-line utility, but a wide
 variety of GUI clients exist.
Works on Linux, Mac and Windows.
Used a lot, wide community.
Hands-on Time!
Git Basic Commands
  Init
  Add/Commit
  Log
  Revert
  Branch
  Merge
  Merge Conflict
A common workflow
More Resources
More Tutorials:
  Git SCM Book: http://git-scm.com/book
  Pro Git: http://progit.org/book/
  Git Immersion: http://gitimmersion.com/
  Screencast from Github:
   http://learn.github.com/p/intro.html
  Presentation by Shakti Kannan: http://goo.gl/6BTTv
Thank You!
This presentation can be found online at
  http://www.slideshare.net/... (the chicken and egg
  problem :P)

Me:                                 OSDC:
Website                             Website
  http://vaidikkapoor.info            http://opensource.jiitu.org
Twitter                             Wiki
  http://twitter.com/vaidikkapoor     http://opensource.jiitu.org/wiki
Github                              Twitter
   http://github.com/vaidikkp         http://twitter.com/jiitosdc
                                    Facebook Group
                                      http://on.fb.me/jiitosdc

More Related Content

What's hot

Deployment taken seriously with Octopus Deploy and TeamCity
Deployment taken seriously with Octopus Deploy and TeamCityDeployment taken seriously with Octopus Deploy and TeamCity
Deployment taken seriously with Octopus Deploy and TeamCity
Tomas Jansson
 

What's hot (20)

dotnetsheff: Continuous delivery with Team City and Octopus Deploy
dotnetsheff: Continuous delivery with Team City and Octopus Deploydotnetsheff: Continuous delivery with Team City and Octopus Deploy
dotnetsheff: Continuous delivery with Team City and Octopus Deploy
 
Supermondays: Jenkins CI lightning talk
Supermondays: Jenkins CI lightning talkSupermondays: Jenkins CI lightning talk
Supermondays: Jenkins CI lightning talk
 
Jenkins Scriptler in 90mins
Jenkins Scriptler in 90minsJenkins Scriptler in 90mins
Jenkins Scriptler in 90mins
 
Jenkinsfileのlintで救える命がある
Jenkinsfileのlintで救える命があるJenkinsfileのlintで救える命がある
Jenkinsfileのlintで救える命がある
 
Octopus Deploy Tech Fest 2014
Octopus Deploy Tech Fest 2014Octopus Deploy Tech Fest 2014
Octopus Deploy Tech Fest 2014
 
Make It Cooler: Using Decentralized Version Control
Make It Cooler: Using Decentralized Version ControlMake It Cooler: Using Decentralized Version Control
Make It Cooler: Using Decentralized Version Control
 
Grooving with Jenkins
Grooving with JenkinsGrooving with Jenkins
Grooving with Jenkins
 
Deployment taken seriously with Octopus Deploy and TeamCity
Deployment taken seriously with Octopus Deploy and TeamCityDeployment taken seriously with Octopus Deploy and TeamCity
Deployment taken seriously with Octopus Deploy and TeamCity
 
Serverless framework와 CircleCI를 통한 NoOps 맛보기
Serverless framework와 CircleCI를 통한 NoOps 맛보기Serverless framework와 CircleCI를 통한 NoOps 맛보기
Serverless framework와 CircleCI를 통한 NoOps 맛보기
 
Managing Jenkins with Jenkins (Jenkins User Conference Palo Alto, 2013)
Managing Jenkins with Jenkins (Jenkins User Conference Palo Alto, 2013)Managing Jenkins with Jenkins (Jenkins User Conference Palo Alto, 2013)
Managing Jenkins with Jenkins (Jenkins User Conference Palo Alto, 2013)
 
Hacking on WildFly 9
Hacking on WildFly 9Hacking on WildFly 9
Hacking on WildFly 9
 
DevOps <3 node.js
DevOps <3 node.jsDevOps <3 node.js
DevOps <3 node.js
 
Getting started with Octopus Deploy
Getting started with Octopus DeployGetting started with Octopus Deploy
Getting started with Octopus Deploy
 
Using Docker for Testing
Using Docker for TestingUsing Docker for Testing
Using Docker for Testing
 
Implementing your own Google App Engine
Implementing your own Google App Engine Implementing your own Google App Engine
Implementing your own Google App Engine
 
DevOps and Drupal
DevOps and DrupalDevOps and Drupal
DevOps and Drupal
 
Testing as a container
Testing as a containerTesting as a container
Testing as a container
 
Ice breaker with dev ops
Ice breaker with dev opsIce breaker with dev ops
Ice breaker with dev ops
 
Implementation of the Continuous Integration based on Atlassian Bamboo
 Implementation of the Continuous Integration based on Atlassian Bamboo Implementation of the Continuous Integration based on Atlassian Bamboo
Implementation of the Continuous Integration based on Atlassian Bamboo
 
The swiss knife of a word press developer
The swiss knife of a word press developerThe swiss knife of a word press developer
The swiss knife of a word press developer
 

Viewers also liked (7)

Email marketing terms
Email marketing termsEmail marketing terms
Email marketing terms
 
Institucional Inmuner
Institucional InmunerInstitucional Inmuner
Institucional Inmuner
 
Firefox Extension Development | By JIIT OSDC
Firefox Extension Development | By JIIT OSDCFirefox Extension Development | By JIIT OSDC
Firefox Extension Development | By JIIT OSDC
 
Reinventing Marketing For The Small Business
Reinventing Marketing For The Small BusinessReinventing Marketing For The Small Business
Reinventing Marketing For The Small Business
 
Mobile Marketing to Youth - Mobile Monday
Mobile Marketing to Youth - Mobile MondayMobile Marketing to Youth - Mobile Monday
Mobile Marketing to Youth - Mobile Monday
 
การแลกเปลี่ยนก๊าซ
การแลกเปลี่ยนก๊าซการแลกเปลี่ยนก๊าซ
การแลกเปลี่ยนก๊าซ
 
DataSift September '12 Release Overview
DataSift September '12 Release OverviewDataSift September '12 Release Overview
DataSift September '12 Release Overview
 

Similar to Version Controlling

[Mas 500] Software Development Strategies
[Mas 500] Software Development Strategies[Mas 500] Software Development Strategies
[Mas 500] Software Development Strategies
rahulbot
 
The Source Control Landscape
The Source Control LandscapeThe Source Control Landscape
The Source Control Landscape
Lorna Mitchell
 

Similar to Version Controlling (20)

Git'in in 15
Git'in in 15Git'in in 15
Git'in in 15
 
Distributed wikis
Distributed wikisDistributed wikis
Distributed wikis
 
VCS. Three letters that can change your life
VCS. Three letters that can change your lifeVCS. Three letters that can change your life
VCS. Three letters that can change your life
 
Hyper v r2 deep dive
Hyper v r2 deep diveHyper v r2 deep dive
Hyper v r2 deep dive
 
Git How Does That Work Then
Git How Does That Work ThenGit How Does That Work Then
Git How Does That Work Then
 
Gitting better
Gitting betterGitting better
Gitting better
 
Version Uncontrolled - How to Manage Your Version Control (whitepaper)
Version Uncontrolled - How to Manage Your Version Control (whitepaper)Version Uncontrolled - How to Manage Your Version Control (whitepaper)
Version Uncontrolled - How to Manage Your Version Control (whitepaper)
 
Basic Introduction to Web Development
Basic Introduction to Web DevelopmentBasic Introduction to Web Development
Basic Introduction to Web Development
 
[Mas 500] Software Development Strategies
[Mas 500] Software Development Strategies[Mas 500] Software Development Strategies
[Mas 500] Software Development Strategies
 
Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginners
 
Version Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part IVersion Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part I
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
 
Git session 1
Git session 1Git session 1
Git session 1
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Fedora Modularity
Fedora ModularityFedora Modularity
Fedora Modularity
 
Wi Ki Presentation
Wi Ki PresentationWi Ki Presentation
Wi Ki Presentation
 
Version Control System - for Agile Software Project Management.
Version Control System - for Agile Software Project Management.Version Control System - for Agile Software Project Management.
Version Control System - for Agile Software Project Management.
 
SFScon 2020 - Paolo Boldi - Software Ecosystems as Networks Advances on the F...
SFScon 2020 - Paolo Boldi - Software Ecosystems as Networks Advances on the F...SFScon 2020 - Paolo Boldi - Software Ecosystems as Networks Advances on the F...
SFScon 2020 - Paolo Boldi - Software Ecosystems as Networks Advances on the F...
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
The Source Control Landscape
The Source Control LandscapeThe Source Control Landscape
The Source Control Landscape
 

Recently uploaded

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
panagenda
 
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
Safe Software
 
+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...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

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
 
"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 ...
 
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
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
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
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
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
 
+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...
 

Version Controlling

  • 1.
  • 3. I am Vaidik A B. Tech. student at Jaypee Institute of Information Technology, NOIDA. A web developer. A Drupal Contributor. A Mozilla Student Rep and Contributor. Twitter: @vaidikkapoor Github: vaidikkp
  • 4. What we will talk about? Version Controlling – The Concept Distributed VCS vs Centralized VCS Introduction to Git Hands-on Git! More Resources
  • 5. Version Controlling What is Version Control? A system that is used to record changes to a file or a set of files. Why we need it? Keep track of changes that anyone makes to a set of files. Revert to a particular version of your file (state) if you need to so you don't have to remember everything you do. Compare different states of your file.
  • 6. Centralized vs. Distributed Local VCS: The project is on your local machine. Commits are stored in a local database that keeps track of changes. Disadvantages: No way to collaborate Single point-of-failure: if your local machine crashes, all your work is lost.
  • 7. Centralized vs. Distributed Centralized The VCS database is on a server accessible to everyone. Read/update the latest snapshot of the files from the central server. Advantages: Very easy to collaborate. Everyone stays updated with the changes everyone makes. A lot more control over files (like who can read/write which files, etc.). Disadvantages:
  • 8. Centralized vs. Distributed Distributed The VCS database is on a server accessible to everyone. Instead of reading/updating the snapshot of files, get the whole history of changes. Advantages: Everybody has everything that is there on the server. No single point-of-failure, everybody is happy! :) Examples: Git, Mercurial, Bazaar, Darcs
  • 9. Git A DVCS. Originally developed by Linus Torvalds for version controlling of the Kernel. Originally a command-line utility, but a wide variety of GUI clients exist. Works on Linux, Mac and Windows. Used a lot, wide community.
  • 10. Hands-on Time! Git Basic Commands Init Add/Commit Log Revert Branch Merge Merge Conflict A common workflow
  • 11. More Resources More Tutorials: Git SCM Book: http://git-scm.com/book Pro Git: http://progit.org/book/ Git Immersion: http://gitimmersion.com/ Screencast from Github: http://learn.github.com/p/intro.html Presentation by Shakti Kannan: http://goo.gl/6BTTv
  • 12. Thank You! This presentation can be found online at http://www.slideshare.net/... (the chicken and egg problem :P) Me: OSDC: Website Website http://vaidikkapoor.info http://opensource.jiitu.org Twitter Wiki http://twitter.com/vaidikkapoor http://opensource.jiitu.org/wiki Github Twitter http://github.com/vaidikkp http://twitter.com/jiitosdc Facebook Group http://on.fb.me/jiitosdc