simple introduction to git
DESCRIPTION
simple introduction to git, show popular commands, git friends and compare with svn in this presentationTRANSCRIPT
![Page 2: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/2.jpg)
• What is VCS
• What is SVN
• What is GIT
• GIT Friends
• GIT vs SVN
• GIT Commands
• Install Git
• FAQ
Subjects
Slide 2
![Page 3: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/3.jpg)
• 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
![Page 4: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/4.jpg)
• 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
![Page 5: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/5.jpg)
What is SVN ?
Slide 5
![Page 6: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/6.jpg)
• 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
![Page 7: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/7.jpg)
What is GIT?
Slide 7
![Page 8: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/8.jpg)
• SVN (cvcs)
• Mercurial (dvcs)
• Bazaar (dvcs)
• Cvs (cvcs)
• Visual source safe (cvcs)
• Bitkeeper (dvcs)
• Darcs (dvcs)
Git Friends (others vcs tools)
Slide 8
![Page 9: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/9.jpg)
• 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
![Page 10: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/10.jpg)
GIT vs. SVN
Slide 10
![Page 11: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/11.jpg)
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
![Page 12: simple Introduction to git](https://reader036.vdocuments.net/reader036/viewer/2022082309/549c8136ac7959e72a8b4749/html5/thumbnails/12.jpg)
Install Git
Slide 12
• Linux :• Sudo apt-get install git
• Other os :• http://git-scm.com