Download - simple Introduction to git
• What is VCS
• What is SVN
• What is GIT
• GIT Friends
• GIT vs SVN
• GIT Commands
• Install Git
• FAQ
Subjects
Slide 2
• Version Control System
• All Changes made tracked
• Who made the changes
• Why they made that changes
• Have archive of project
• Reduce problem of Maintenance of project
• For managing large projects with multiple developers
• , …
What is VCS ?
Slide 3
• A Centralized version control system
• Traditional version control system
• Each person checkout a copy of files
• The repository doesn’t lock for use
• Automatically merge changes in repository
• If a user changes conflict with other users changes, they have to resolve them manually
• Can create some branches
What is SVN ?
Slide 4
What is SVN ?
Slide 5
• A Distributed version control system
• Git uses best and optimize checksum
• Not have center server , all folders can made to repository
• Work offline
• Can create some branches
• Fast and optimize for handling large projects
• , …
What is GIT?
Slide 6
What is GIT?
Slide 7
• SVN (cvcs)
• Mercurial (dvcs)
• Bazaar (dvcs)
• Cvs (cvcs)
• Visual source safe (cvcs)
• Bitkeeper (dvcs)
• Darcs (dvcs)
Git Friends (others vcs tools)
Slide 8
• GIT faster than SVN
• Check sum in GIT is more optimize than SVN
• SVN have few crashed and conflict problem
• In SVN, renaming of files causes loss of history
• In SVN, .svn in all folders
• In GIT, .git in root of project directories
• SVN more disk space required
• GIT not made for windows (but have native porting with msysgit)
• GIT Doesn’t problem of conflict
• ,…
GIT vs. SVN
Slide 9
GIT vs. SVN
Slide 10
GIT Commands (popular)
Slide 11
• Getting repository• Git init
• Git clone
• Commits• Git add
• Git commit
• Getting information• Git help
• Git status
• Git diff
• Git log
Install Git
Slide 12
• Linux :• Sudo apt-get install git
• Other os :• http://git-scm.com