Git: Difference between revisions

From miki
Jump to navigation Jump to search
Line 6: Line 6:
* [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]

== 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 ==
== Install ==

Revision as of 15:50, 26 January 2011

References

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: