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

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
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
 

Recently uploaded (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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?
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 

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