Main Page UsingGit

From NDesk

(Difference between revisions)
Jump to: navigation, search
Revision as of 23:05, 4 January 2007 (edit)
Alp (Talk | contribs)

← Previous diff
Current revision (23:08, 4 January 2007) (edit) (undo)
Alp (Talk | contribs)

 
Line 9: Line 9:
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
</pre> </pre>
 +
 +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 Make sure you are using at least git version 1.4.4
Line 25: Line 27:
If they are merged into the original repository, the commits will seamlessly match what you have locally. 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
 +
 +http://wiki.sourcemage.org/Git_Guide

Current revision

[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

http://wiki.sourcemage.org/Git_Guide

Retrieved from "http://ndesk.org/UsingGit"