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.
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.