UsingGit
From NDesk
(Difference between revisions)
Revision as of 23:04, 4 January 2007 (edit) Alp (Talk | contribs) ← Previous diff |
Revision as of 23:05, 4 January 2007 (edit) (undo) Alp (Talk | contribs) Next diff → |
||
Line 21: | Line 21: | ||
<Optional paragraph description, wrapped to 72 chars, punctuated.> | <Optional paragraph description, wrapped to 72 chars, punctuated.> | ||
</pre> | </pre> | ||
+ | |||
+ | 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. |
Revision as of 23:05, 4 January 2007
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
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.