UsingGit
From NDesk
[edit] Using git on ndesk.org
Be sure to set these variables properly, and try to make sure they won't change in the future. Always ensure they are set before making commits.
export GIT_AUTHOR_NAME="Your Name" export GIT_AUTHOR_EMAIL="you@example.com" export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
There are other ways of setting these variables as well, if you want.
Make sure you are using at least git version 1.4.4
git-commit -a to commit.
The commit message should be in the form:
<Summary, <= 72 chars, not punctuated> <Newline> <Optional paragraph description, wrapped to 72 chars, punctuated.>
Once commits are made, they can be pushed by e-mail, git-ssh, pastebin etc.
If they are merged into the original repository, the commits will seamlessly match what you have locally.
http://www.kernel.org/pub/software/scm/git/docs/tutorial.html