Download presentation
Presentation is loading. Please wait.
Published byAndrew Payne Modified over 8 years ago
1
Technical Presentation by: David Spano
2
About Git (VCS) Simple Git Commands Branching Github Git GUI Summary
3
Why Git? Changes passed as patches and archived files Early linux and BitKeeper 2002 Develop own tool based on experience with BitKeeper Speed Simple design Strong support for non-linear development Fully distributed Able to handle large projects
4
What is Git? Created in 2005 Derived from British English slang Free software dist. GNU Source Code Management system Emphasis on speed Most operations in Git only need local files and resources to operate The heart of Github
5
Fig 1 – Other systems tend to store data as changes to a base version of each file. Figure 2 - Git stores data as snapshots of the project over time.
6
Everything in Git is check-summed Uses a SHA-1 hash 40 character String Hexadecimal (0-9 and a-f) Stores by hash not by file name 24b9da6552252987aa493b52f8696cd6d3b00373 Example of SHA-1 hash:
7
Git directory Working directory Staging area
8
Windows: http://code.google.com/p/mysysgit/http://code.google.com/p/mysysgit/ OSX: http://code.google.com/p/git-osx-installer/http://code.google.com/p/git-osx-installer/ git –version git config – global
9
$ git init creates a.git file $ git add *.c $ git add README $ git commit -m “initial project version” $ git clone
10
$ git status $ git log $ git show $ git pull $ git commit –m ‘ ’ $ git push $ git –b $ git branch –D $ git branch $ git checkout $ git merge
12
Git repository hosting service Web-based graphical interface Provides public and private repositories Allows “forking”
17
History of Git Simple Git Commands Branching Github Github GUI
19
"1.3 Getting Started - Git Basics." Git. N.p., n.d. Web. 20 Apr. 2013. http://git-scm.com/book/en/Getting-Started-Git-Basics "Build Software Better, Together." GitHub ·. N.p., n.d. Web. 20 Apr. 2013. www.github.com Finely, Klint. "What Exactly Is GitHub Anyway?" TechCrunch RSS. Sat. July 2012 http://techcrunch.com/2012/07/14/what-exactly-is-github-anyway/
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.