Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
A SEMINAR ON 
VERSION CONTROL SYSTEMS 
AND GIT 
Presented by, 
ARAVINDHAN K 
Final year student. 
DEPARTMENT OF COMPUTER S...
VERSION CONTROL SYSTEM - DEFINATION 
What is version control, and why should we care? 
● Version control is a system that ...
TYPES OF VERSION CONTROL SYSTEMS 
● LOCAL VERSION CONTROL SYSTEMS 
● CENTRALISED VERSION CONTROL SYSTEMS 
● DISTRIBUTED VE...
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, ofte...
GIT – AN INTRODUCTION
GIT – A SIMPLE WORKFLOW 
● A dummy project foo 
● Creaing a new repository 
● How to add project files to repository 
● Un...
GIT – REMOTE REPOSITRIES 
● Setting up git server 
● Cloning a repository 
● Pushing changes to server 
● Pulling the chan...
GIT – BRANCHING AND MERGING 
● What is branching? 
● Master branch 
● Creating a branch 
● Changing between branches 
● Me...
REFERENCES 
1. Revision Control. Retrived on July 24, 2014 from 
http://en.wikipedia.org/ wiki/Revision_control 
2. ''Unde...
GIT LOCAL OPERATIONS 
BACK
GIT – LIFE CYCLE OF FILES 
BACK
Upcoming SlideShare
Loading in …5
×

Git an introductino

209 views

Published on

A presentation I prepared for seminar before my class.

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Git an introductino

  1. 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. 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. 3. TYPES OF VERSION CONTROL SYSTEMS ● LOCAL VERSION CONTROL SYSTEMS ● CENTRALISED VERSION CONTROL SYSTEMS ● DISTRIBUTED VERSION CONTROL SYSTEMS
  4. 4. LOCAL VERSION CONTROL SYSTEMS
  5. 5. CENTRALISED VERSION CONTROL SYSTEM
  6. 6. DISTRIBUTED VERSION CONTROL SYSTEM
  7. 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. 8. GIT – AN INTRODUCTION
  9. 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. 10. GIT – REMOTE REPOSITRIES ● Setting up git server ● Cloning a repository ● Pushing changes to server ● Pulling the changes from server
  11. 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. 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.
  13. 13. GIT LOCAL OPERATIONS BACK
  14. 14. GIT – LIFE CYCLE OF FILES BACK

×