Git: Difference between revisions

From miki
Jump to navigation Jump to search
Line 1: Line 1:
== References ==
== References ==
[[File:Git-cheat-sheet-medium.png|200px|thumb|right|Git cheat sheet]]
* [http://git-scm.com/ Git Home]
* [http://git-scm.com/ Git Home]
* [https://help.ubuntu.com/community/Git Git on Ubuntu]
* [https://help.ubuntu.com/community/Git Git on Ubuntu]
Line 6: Line 7:
* [http://perl.plover.com/yak/git/ Linux Greatest Invention]
* [http://perl.plover.com/yak/git/ Linux Greatest Invention]
* [http://www.youtube.com/watch?v=4XpnKHJAok8 Tech Talk: Linux Torvalds on git]
* [http://www.youtube.com/watch?v=4XpnKHJAok8 Tech Talk: Linux Torvalds on git]
* '''[http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html Git cheat sheet]'''


== Introduction ==
== Introduction ==

Revision as of 00:13, 30 January 2011

References

Git cheat sheet

Introduction

Git Features:

  • Reliability
  • Performance
  • Distributed

Distributed

Originally from BitKeeper. Other distributed SCM is Mercurial.

  • No single repository. Everybody always has his own copy of the repository. The repository content is pulled from other people's repository.
  • No politics, no commit access control. All work is always done locally, so there is no need to define such politics.

Reliability

Every change, file, directory, etc. is cryptographically hashed (sha1sum).

  • Easy corruption detection. Any tampering to a file or directory content (either malicious or because of hardware failure) is immediately detected.
  • Easy distribution. Moreover because the repository is distributed all over the place, it is very easy to repair a given repository. You only need to drop all broken objects, and get all missing objects from a remote copy.

Performance

Very fast commit. Local repository

Install

Packages:

  • git-core — the main program
  • git-gui — a gui front-end
  • Web interface:
  • git-doc — documentation
  • Project management: