Git Setup

From Dcmf

Jump to: navigation, search

{ Git | Git Setup | Git tasks | Git maintainer tasks }

Setting up your personal environment

Just like setting $CVS_ROOT, git needs a few things to tell it how to record changes. Add the following to your ~/.bashrc:

export GIT_AUTHOR_NAME="My Name"
export GIT_COMMITTER_NAME="My Name"
export GIT_COMMITTER_EMAIL=email@us.ibm.com
export GIT_AUTHOR_EMAIL=email@us.ibm.com

If you use [t]csh, ksh, or psh, you'll have to change the above commands.


An option that may be nicer than the above GIT_* variables is to create a ~/.gitconfig file.
From the Git user manual

Make sure the following lines appear in a file named .gitconfig in your home directory:
[user]
       name = Your Name Comes Here
       email = you@yourdomain.example.com
[sendemail]
       smtpserver = localhost

(See the "CONFIGURATION FILE" section of git config(1) for details on the configuration file.)

Getting the DCMF Source Code

Currently, you'll have to download a tarball of the git repository from the Downloads page. Patches will come in over the mailing list; you might want to join to follow development.