UsingGit
From NDesk
(Difference between revisions)
Revision as of 23:00, 4 January 2007 (edit) Alp (Talk | contribs) ← Previous diff |
Revision as of 23:02, 4 January 2007 (edit) (undo) Alp (Talk | contribs) Next diff → |
||
Line 2: | Line 2: | ||
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. | 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_NAME="Your Name" | ||
Line 7: | Line 8: | ||
export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME | export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME | ||
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL | export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL | ||
+ | |||
Make sure you are using at least git version 1.4.4 | 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, less <= 72 chars, not punctuated> | ||
+ | <Newline> | ||
+ | <Optional paragraph description, wrapped to 72 chars, punctuated.> |
Revision as of 23:02, 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, less <= 72 chars, not punctuated> <Newline> <Optional paragraph description, wrapped to 72 chars, punctuated.>