Git is a distributed version control system that offers benefits like easier merging, cheap and fast branching, speed, smaller file sizes, and redundancy. It treats changes as a single changeset identified by a hash. Commits are linked to trees of file contents, and branches and tags reference commits. Git allows staging changes and switching between branches quickly. It has both centralized and distributed workflows and tools for Windows and merging with history are reasons one may choose to use Git.
1 of 20
Downloaded 57 times
More Related Content
Why Git
1. Why Git?
A quick
trip down
the Git
rabbit
hole.
Mark Guzman
mg@hasno.info
@segy
http://hasno.info
Thursday, March 4, 2010
2. What is Git
Distributed Version Control
Fast (small C core)
Popular (Github)
Stupid Content Tracker
Thursday, March 4, 2010
3. 京艶稼艶鍖t壊
Easier Merging
Cheap fast branching
Speed
Checkout size
Maintains an easily usable history
Redundancy by default
Thursday, March 4, 2010
4. Why Merging
Tracking Matters
History Matters
Why did Bob change 10 鍖les in his branch 3
weeks back?
Why did you change some of the same 鍖les in
yours?
How will you know a year down the road?
Thursday, March 4, 2010
6. Changeset Tracking
Git treats all your changes as a single ChangeSet.
It uses a SHA-1 hash of the changes to identify them
Eg: commit 7ef55e41f1cf529e47723d869233492077c94896
Thursday, March 4, 2010
7. Stupid Content Tracking
Simple object relationships.
Tree (folder) -> Blob (鍖le data)
Thursday, March 4, 2010
17. Notes from the
Trenches
Learning curve
Server setup easier on linux
Submodules != svn externals
Watch our for detached HEAD
Be EXTREMELY careful with a force push.
Thursday, March 4, 2010