
  This file gives some basic git "cheat sheet" information.

  The 2 main git repositories used are:

git://anongit.freedesktop.org/git

and:

git://git.mandriva.com/users/pcpa

[note that the last one is at the time of this writting misnamed, as
 it is expected to be used by everybody at Mandriva involved with x11
 related packages]

  The read/write git repository can also be accessed as:
git+ssh://[user@]git.mandriva.com/...
so that it should have all related environment variables and
authentication already set.


  Usually git commands can be specified as:
$ git command
  or
$ git-command


First contact with git:
---
$ git-config --global user.name "Your Name Comes Here"
$ git-config --global user.email you@yourdomain.example.com
---


  Examples of git usage:

$ git log
Prints commit log and other repository information, in a mail archive
like format.

$ git log | git shortlog
Prints in a format that resembles a changelog, with commiter name
followed by commit messages.

$ git tag
Prints a list of tags.

$ git branch
Prints a list of local branches.

$ git branch -r
Lists remote branches



########################################################################
Needs cleanup for proper understanding (I think I am not fully
understanding how git works here):

  When cloning, and doing
$ git-checkout origin/<branch>
$ git-branch
* (no branch)
  master
   my repository becomes detached, so what I am doing is:
$ git-checkout origin/<branch>
$ git-checkout -b <branch>
$ git-branch
* <branch>
  master

Needs some cleanup to avoid uploading confused/incorrect data to
public git.mandriva.com repository.
########################################################################


########################################################################
Also needs better understanding:

When manipulating tags and branches, is it possible to create
logs about it? Or force a log when "push"ing to a "master" repository?
########################################################################




-------------
To add more information for newcomers to git here. As well as fix
the "cheat sheet" to cover all operations required to add new patches,
merge branches, and update the "master" git.mandriva.com repository.
-------------



References:
http://www.kernel.org/pub/software/scm/git/docs/tutorial.html

