Menu

Repo Management

M. Damian Mulligan

In order to better facilitate EDE's development, please observe the following rules when using the Git repo:

  • Never push to the Trunk. Your code must first undergo review to establish that it meets the standards set out in the Code Standards guide.
  • Never push to a branch other then your own.
  • Never pull from a branch other then your own or the Trunk without prior permission of that branch's owner or the admins.
  • Always submit descriptive commit messages.

For those new to Git, here's a quick rundown:

  1. Clone the EDE repo:

    git clone https://<Your Username>@git.code.sf.net/p/edeng/code EDE

    The HTTPS is important if you want to commit later. Otherwise, you can just use HTTP
  2. Create your branch:

    git branch <Your username>

    This will create a branch from the Trunk with your username as the name. Alternatively, if you have a branch already, retrieve it by:

    git checkout <Your username>
  3. Move to your branch by calling:

    git checkout <Branch name>
  4. When you are ready to commit:

    git commit --all --message <Your commit message>
  5. Finally, when your ready to push your commits to the repo:

    git push

MongoDB Logo MongoDB