SlideShare ist ein Scribd-Unternehmen logo
1 von 14
A SEMINAR ON 
VERSION CONTROL SYSTEMS 
AND GIT 
Presented by, 
ARAVINDHAN K 
Final year student. 
DEPARTMENT OF COMPUTER SCIENCE ENGINEERING 
PERUNTHALAIVAR KAMARAJAR INSTITUTE OF 
ENGINEERING AND TECHNOLOGY
VERSION CONTROL SYSTEM - DEFINATION 
What is version control, and why should we care? 
● Version control is a system that records changes to a file or set of files 
over time so that you can recall specific versions later. 
● The files may be text file to graphic design files. 
● It allows you to revert files back to a previous state, revert the entire 
project back to a previous state, compare changes over time, see who last 
modified something that might be causing a problem, who introduced an 
issue and when, and more. 
● Since most software projects are done collabratively by a group, it is 
necessory to learn and use version control system.
TYPES OF VERSION CONTROL SYSTEMS 
● LOCAL VERSION CONTROL SYSTEMS 
● CENTRALISED VERSION CONTROL SYSTEMS 
● DISTRIBUTED VERSION CONTROL SYSTEMS
LOCAL VERSION CONTROL SYSTEMS
CENTRALISED VERSION CONTROL SYSTEM
DISTRIBUTED VERSION CONTROL SYSTEM
VERSION CONTROL SYSTEM – GLOSSARY 
Repository 
The repository is where files' current and historical data are stored, often 
on a server 
Checkout 
To check out is to create a local working copy from the repository. A user 
may specify a specific revision or obtain the latest. 
Change 
A change (or diff, or delta) represents a specific modification to a 
document under version control. 
Revision 
Also version: is the state at a point in time (of the entire tree) in the 
repository.
GIT – AN INTRODUCTION
GIT – A SIMPLE WORKFLOW 
● A dummy project foo 
● Creaing a new repository 
● How to add project files to repository 
● Understanding Local operations in Git 
● Untracked ↔ unmodified ↔ modified ↔ staged 
● Ignoring Files 
● Comparing two versions of file 
● How to commit to repository 
● Remove files from repository
GIT – REMOTE REPOSITRIES 
● Setting up git server 
● Cloning a repository 
● Pushing changes to server 
● Pulling the changes from server
GIT – BRANCHING AND MERGING 
● What is branching? 
● Master branch 
● Creating a branch 
● Changing between branches 
● Merging a branch 
● Conflicts when merging 
● Basic workflow of merging
REFERENCES 
1. Revision Control. Retrived on July 24, 2014 from 
http://en.wikipedia.org/ wiki/Revision_control 
2. ''Understanding Version-Control Systems (DRAFT)”- Eric 
Raymond .Retrived on July 24, 2014 from 
http://www.catb.org/esr/writings/version-control/version-control. 
html 
3. 'Pro Git', Scott Chacon ,2009. Retrieved on July 23, 2014 from 
https://github.s3.amazonaws.com/media/progit.en.pdf 
4. Git Quick reference.Retrieved on July 24,2014 from 
http://jonas.nitro.dk/ git/quick-reference.html.
GIT LOCAL OPERATIONS 
BACK
GIT – LIFE CYCLE OF FILES 
BACK

Weitere ähnliche Inhalte

Was ist angesagt?

Source code management
Source code managementSource code management
Source code managementWidoyo PH
 
Getting started continuous integration
Getting started continuous integrationGetting started continuous integration
Getting started continuous integrationalvarezrozo
 
Version Control System (Rajab DAVUDOV)
Version Control System (Rajab DAVUDOV)Version Control System (Rajab DAVUDOV)
Version Control System (Rajab DAVUDOV)Hackathon Azerbaijan
 
Session: Git Basics & GitFlow Workflow
Session: Git Basics & GitFlow WorkflowSession: Git Basics & GitFlow Workflow
Session: Git Basics & GitFlow WorkflowMidhun Mohanan
 
BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersMartin Jinoch
 
Version control and GIT Primer
Version control and GIT PrimerVersion control and GIT Primer
Version control and GIT Primersaadulde
 
Presentation on Transaction
Presentation on TransactionPresentation on Transaction
Presentation on TransactionRahul Prajapati
 
Software configuration management
Software configuration managementSoftware configuration management
Software configuration managementlokareminakshi
 
Configuration Management Best Practices
Configuration Management Best PracticesConfiguration Management Best Practices
Configuration Management Best PracticesTechWell
 
Conflicting Advice on Git Usage Patterns & Their Implications
Conflicting Advice on Git Usage Patterns & Their ImplicationsConflicting Advice on Git Usage Patterns & Their Implications
Conflicting Advice on Git Usage Patterns & Their ImplicationsYoungSeok Yoon
 
Version Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part IVersion Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part ISergey Aganezov
 
11 process definition
11 process definition11 process definition
11 process definitionmyrajendra
 

Was ist angesagt? (17)

Git flow
Git flowGit flow
Git flow
 
Source code management
Source code managementSource code management
Source code management
 
Scm PPT
Scm PPTScm PPT
Scm PPT
 
Getting started continuous integration
Getting started continuous integrationGetting started continuous integration
Getting started continuous integration
 
Version Control System (Rajab DAVUDOV)
Version Control System (Rajab DAVUDOV)Version Control System (Rajab DAVUDOV)
Version Control System (Rajab DAVUDOV)
 
Session: Git Basics & GitFlow Workflow
Session: Git Basics & GitFlow WorkflowSession: Git Basics & GitFlow Workflow
Session: Git Basics & GitFlow Workflow
 
BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes Developers
 
Git&subversion
Git&subversionGit&subversion
Git&subversion
 
GIT In Detail
GIT In DetailGIT In Detail
GIT In Detail
 
Version control and GIT Primer
Version control and GIT PrimerVersion control and GIT Primer
Version control and GIT Primer
 
Presentation on Transaction
Presentation on TransactionPresentation on Transaction
Presentation on Transaction
 
Software configuration management
Software configuration managementSoftware configuration management
Software configuration management
 
Configuration Management Best Practices
Configuration Management Best PracticesConfiguration Management Best Practices
Configuration Management Best Practices
 
Conflicting Advice on Git Usage Patterns & Their Implications
Conflicting Advice on Git Usage Patterns & Their ImplicationsConflicting Advice on Git Usage Patterns & Their Implications
Conflicting Advice on Git Usage Patterns & Their Implications
 
Version Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part IVersion Control Systems -- Git -- Part I
Version Control Systems -- Git -- Part I
 
11 process definition
11 process definition11 process definition
11 process definition
 
Apache maven
Apache mavenApache maven
Apache maven
 

Ähnlich wie Git an introductino

Part 4 - Managing your svn repository using jas forge
Part 4  - Managing your svn repository using jas forgePart 4  - Managing your svn repository using jas forge
Part 4 - Managing your svn repository using jas forgeJasmine Conseil
 
introduction in version control system
introduction in version control systemintroduction in version control system
introduction in version control systemBiga Gaber
 
version control system (2).pptx
version control system (2).pptxversion control system (2).pptx
version control system (2).pptxDipanshuRaj19
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with GitSahil Agarwal
 
Source-it Version-contol & GIT - floating-lesson
Source-it Version-contol & GIT - floating-lessonSource-it Version-contol & GIT - floating-lesson
Source-it Version-contol & GIT - floating-lessonYoram Michaeli
 
Version control system and Git
Version control system and GitVersion control system and Git
Version control system and Gitramubonkuri
 
Version control
Version controlVersion control
Version controlSean Hayes
 
Svn vs mercurial vs github
Svn  vs  mercurial vs  githubSvn  vs  mercurial vs  github
Svn vs mercurial vs githubVinoth Kannan
 
SQL Server DevOps Jumpstart
SQL Server DevOps JumpstartSQL Server DevOps Jumpstart
SQL Server DevOps JumpstartOri Donner
 

Ähnlich wie Git an introductino (20)

GIT
GITGIT
GIT
 
Part 4 - Managing your svn repository using jas forge
Part 4  - Managing your svn repository using jas forgePart 4  - Managing your svn repository using jas forge
Part 4 - Managing your svn repository using jas forge
 
introduction in version control system
introduction in version control systemintroduction in version control system
introduction in version control system
 
Git hub_pptx
Git hub_pptxGit hub_pptx
Git hub_pptx
 
version control system (2).pptx
version control system (2).pptxversion control system (2).pptx
version control system (2).pptx
 
01 - Git vs SVN
01 - Git vs SVN01 - Git vs SVN
01 - Git vs SVN
 
Git&GitHub.pptx
Git&GitHub.pptxGit&GitHub.pptx
Git&GitHub.pptx
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
 
Source-it Version-contol & GIT - floating-lesson
Source-it Version-contol & GIT - floating-lessonSource-it Version-contol & GIT - floating-lesson
Source-it Version-contol & GIT - floating-lesson
 
Version control system and Git
Version control system and GitVersion control system and Git
Version control system and Git
 
Mercurial presentation
Mercurial presentationMercurial presentation
Mercurial presentation
 
git Versioning
git Versioninggit Versioning
git Versioning
 
Version control
Version controlVersion control
Version control
 
Git Tutorial
Git Tutorial Git Tutorial
Git Tutorial
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Svn vs mercurial vs github
Svn  vs  mercurial vs  githubSvn  vs  mercurial vs  github
Svn vs mercurial vs github
 
Git 101
Git 101Git 101
Git 101
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
 
FLOSS.pptx
FLOSS.pptxFLOSS.pptx
FLOSS.pptx
 
SQL Server DevOps Jumpstart
SQL Server DevOps JumpstartSQL Server DevOps Jumpstart
SQL Server DevOps Jumpstart
 

Kürzlich hochgeladen

Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 

Kürzlich hochgeladen (20)

Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Git an introductino

  • 1. A SEMINAR ON VERSION CONTROL SYSTEMS AND GIT Presented by, ARAVINDHAN K Final year student. DEPARTMENT OF COMPUTER SCIENCE ENGINEERING PERUNTHALAIVAR KAMARAJAR INSTITUTE OF ENGINEERING AND TECHNOLOGY
  • 2. VERSION CONTROL SYSTEM - DEFINATION What is version control, and why should we care? ● Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. ● The files may be text file to graphic design files. ● It allows you to revert files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. ● Since most software projects are done collabratively by a group, it is necessory to learn and use version control system.
  • 3. TYPES OF VERSION CONTROL SYSTEMS ● LOCAL VERSION CONTROL SYSTEMS ● CENTRALISED VERSION CONTROL SYSTEMS ● DISTRIBUTED VERSION CONTROL SYSTEMS
  • 7. VERSION CONTROL SYSTEM – GLOSSARY Repository The repository is where files' current and historical data are stored, often on a server Checkout To check out is to create a local working copy from the repository. A user may specify a specific revision or obtain the latest. Change A change (or diff, or delta) represents a specific modification to a document under version control. Revision Also version: is the state at a point in time (of the entire tree) in the repository.
  • 8. GIT – AN INTRODUCTION
  • 9. GIT – A SIMPLE WORKFLOW ● A dummy project foo ● Creaing a new repository ● How to add project files to repository ● Understanding Local operations in Git ● Untracked ↔ unmodified ↔ modified ↔ staged ● Ignoring Files ● Comparing two versions of file ● How to commit to repository ● Remove files from repository
  • 10. GIT – REMOTE REPOSITRIES ● Setting up git server ● Cloning a repository ● Pushing changes to server ● Pulling the changes from server
  • 11. GIT – BRANCHING AND MERGING ● What is branching? ● Master branch ● Creating a branch ● Changing between branches ● Merging a branch ● Conflicts when merging ● Basic workflow of merging
  • 12. REFERENCES 1. Revision Control. Retrived on July 24, 2014 from http://en.wikipedia.org/ wiki/Revision_control 2. ''Understanding Version-Control Systems (DRAFT)”- Eric Raymond .Retrived on July 24, 2014 from http://www.catb.org/esr/writings/version-control/version-control. html 3. 'Pro Git', Scott Chacon ,2009. Retrieved on July 23, 2014 from https://github.s3.amazonaws.com/media/progit.en.pdf 4. Git Quick reference.Retrieved on July 24,2014 from http://jonas.nitro.dk/ git/quick-reference.html.
  • 14. GIT – LIFE CYCLE OF FILES BACK