SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

Source code management
Source code managementSource code management
Source code management
Widoyo PH
 
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
YoungSeok Yoon
 
11 process definition
11 process definition11 process definition
11 process definition
myrajendra
 

La actualidad más candente (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
 

Similar a Git an introductino

Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
Sahil Agarwal
 
Svn vs mercurial vs github
Svn  vs  mercurial vs  githubSvn  vs  mercurial vs  github
Svn vs mercurial vs github
Vinoth Kannan
 

Similar a 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
 

Último

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Último (20)

Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
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
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

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