Menu

Setting Up Git

Zachary R.

Install and Configure

Windows

  • Get the installer from the msysgit project page.

http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.7-preview20111014.exe&can=2&q

  • Install it
  • Click Start Menu->Programs->Git->Git Bash
  • Enter the following commands:

git config --global user.name "Firstname Lastname"
git config --global user.email "youremail@example.org"

You're done, see "Get the Code" now.

Get the Code

Once you have git installed and configured simply run the following command in the
git bash terminal.

git clone ssh://yourusername@git.code.sf.net/p/eremus/code eremus-code

Password: your_sourceforge_password

Once you do that you'll find the code in C:\Users\$USERNAME$\ unless you have
'cd'ed to another directory in the git bash terminal.

Branching Model

The basic branching model for developers is each developer should create
his own branch(can be named anything that doesn't conflict with another) and do
work there that way there won't be a lot of file conflicts and work can be merged in
when it's ready.

Read: http://book.git-scm.com/3_basic_branching_and_merging.html for info on basic branching and merging.

The policy recommended for developers is to simply do work in a branch that is
called there sourceforge username, of course from there it's possible to do more branching
but the developer should keep work in their branch until it's ready for inclusion in master.


Related

Wiki: Eremus Project

MongoDB Logo MongoDB